#1B4205#1B4205

#1B4205 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.7% C 0.097 H 137.2°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#1B4205
RGBrgb(27, 66, 5)
HSLhsl(98, 86%, 14%)
HSVhsv(98, 92%, 26%)
CMYKcmyk(59.1%, 0%, 92.4%, 74.1%)
CIE-LABlab(24.13, -25.73, 29.95)
CIE-LCHlch(24.13, 39.48, 130.66°)
OKLaboklab(33.74% -0.0715 0.0661)
OKLCHoklch(33.74% 0.097 137.2)
XYZxyz(2.4275, 4.1402, 0.8148)
Luminance0.0414 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4205 #2C0542
analogous
#3A4205 #1B4205 #05420E
triadic
#1B4205 #051B42 #42051B
tetradic
#1B4205 #053A42 #2C0542 #420E05
square
#1B4205 #053A42 #2C0542 #420E05
split-complementary
#1B4205 #0E0542 #42053A
monochromatic
#0C1C02 #0C1C02 #1B4205 #327B09 #4AB40E

Accessibility & contrast

On white

11.49
#1B4205 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1B4205 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4205
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4205#FFFFFF#000000##FFFFFF
##1B42051.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453B00
Deuteranopia (green-blind)
#40380C
Tritanopia (blue-blind)
#183F37
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b4205;
/* rgb */ color: rgb(27, 66, 5);
/* oklch */ color: oklch(33.7% 0.097 137.2);
Tailwind
colors: {
  custom: {
    50: '#5d774b',
    500: '#1b4205',
    950: '#000000',
  },
}
SCSS
$custom: #1b4205;
$custom-light: #5d774b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4205",
  "rgb": {
    "r": 27,
    "g": 66,
    "b": 5
  },
  "hsl": {
    "h": 98.361,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33744,
    "c": 0.09734,
    "h": 137.2
  },
  "luminance": 0.0414
}

Semantic roles & 50–950 ramp

primary
#1B4205
secondary
#5F2082
accent
#2CFCB1
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1B4205

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#1B4205 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva