#1B4206#1B4206

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

Color values

HEX#1B4206
RGBrgb(27, 66, 6)
HSLhsl(99, 83%, 14%)
HSVhsv(99, 91%, 26%)
CMYKcmyk(59.1%, 0%, 90.9%, 74.1%)
CIE-LABlab(24.14, -25.65, 29.55)
CIE-LCHlch(24.14, 39.13, 130.96°)
OKLaboklab(33.75% -0.0712 0.0654)
OKLCHoklch(33.75% 0.097 137.4)
XYZxyz(2.4330, 4.1424, 0.8436)
Luminance0.0414 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4206 #2D0642
analogous
#394206 #1B4206 #06420F
triadic
#1B4206 #061B42 #42061B
tetradic
#1B4206 #063942 #2D0642 #420F06
square
#1B4206 #063942 #2D0642 #420F06
split-complementary
#1B4206 #0F0642 #420639
monochromatic
#0B1C03 #0B1C03 #1B4206 #327A0B #49B210

Accessibility & contrast

On white

11.48
#1B4206 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B4206
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4206#FFFFFF#000000##FFFFFF
##1B42061.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b4206;
/* rgb */ color: rgb(27, 66, 6);
/* oklch */ color: oklch(33.8% 0.097 137.4);
Tailwind
colors: {
  custom: {
    50: '#5d774c',
    500: '#1b4206',
    950: '#000000',
  },
}
SCSS
$custom: #1b4206;
$custom-light: #5d774c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4206",
  "rgb": {
    "r": 27,
    "g": 66,
    "b": 6
  },
  "hsl": {
    "h": 99,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33752,
    "c": 0.09665,
    "h": 137.4
  },
  "luminance": 0.04143
}

Semantic roles & 50–950 ramp

primary
#1B4206
secondary
#602282
accent
#2EFAB2
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #1B4206

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

Preview Lab → · Contrast checker → · Palette generator →

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