#1B400A

A color in the Green family

#1b400a is a color in the Green family: RGB(27, 64, 10), HSL(101°, 73%, 15%), CMYK(58%, 0%, 84%, 75%). Closest named color: darkslategray. Contrast is 11.77:1 on white and 1.78:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#1b400a
RGBrgb(27 64 10)
RGB (legacy)rgb(27, 64, 10)
RGB %rgb(11% 25% 4%)
HSLhsl(101 73% 15%)
HSV / HSBhsv(101, 84%, 25%)
HWBhwb(101 4% 75%)
CMYKcmyk(58%, 0%, 84%, 75%)
CIELAB (D50)lab(23.46 -22.2 26.68)
LCHlch(23.46 34.71 129.76)
OKLaboklab(0.3316 -0.0675 0.0611)
OKLCHoklch(0.3316 0.0911 137.86)
Decimal1785866

Properties

Color ToneGreen
Closest named colordarkslategray ΔE 10.6
Closest web-safe color#333300
Hue101°
Saturation (HSL / HSV)73% / 84%
Lightness (HSL)15%
Brightness or Value (HSV)25%
Luminance (Rec.601 / Rec.709)18% / 20%
Relative luminance (WCAG)0.0392
Red / Green / Blue27 / 64 / 10

WCAG 2.2 Contrast Ratio

On White (#ffffff)
11.77:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.78:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 96.8 / 0 · As background with white / black text: Lc -100.4 / 0

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #1b400a;
  --color-brand-oklch: oklch(33.16% 0.0911 137.86);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(27 64 10 / 50%); }
/* Tailwind CSS */
<div class="bg-[#1b400a] text-[#1b400a] border-[#1b400a]">