#1B2A06#1B2A06

#1B2A06 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.2% C 0.061 H 129.3°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#1B2A06
RGBrgb(27, 42, 6)
HSLhsl(85, 75%, 9%)
HSVhsv(85, 86%, 16%)
CMYKcmyk(35.7%, 0%, 85.7%, 83.5%)
CIE-LABlab(14.96, -13.50, 19.08)
CIE-LCHlch(14.96, 23.37, 125.29°)
OKLaboklab(26.24% -0.0384 0.0469)
OKLCHoklch(26.24% 0.061 129.3)
XYZxyz(1.3128, 1.9021, 0.4702)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2A06 #15062A
analogous
#2A2706 #1B2A06 #092A06
triadic
#1B2A06 #061B2A #2A061B
tetradic
#1B2A06 #062A27 #15062A #2A0609
square
#1B2A06 #062A27 #15062A #2A0609
split-complementary
#1B2A06 #06092A #27062A
monochromatic
#111B04 #111B04 #1B2A06 #3D600E #609515

Accessibility & contrast

On white

15.21
#1B2A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1B2A06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2A06
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2A06#FFFFFF#000000##FFFFFF
##1B2A061.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2603
Deuteranopia (green-blind)
#2A2509
Tritanopia (blue-blind)
#1C2823
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1b2a06;
/* rgb */ color: rgb(27, 42, 6);
/* oklch */ color: oklch(26.2% 0.061 129.3);
Tailwind
colors: {
  custom: {
    50: '#586349',
    500: '#1b2a06',
    950: '#000000',
  },
}
SCSS
$custom: #1b2a06;
$custom-light: #586349;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2a06",
  "rgb": {
    "r": 27,
    "g": 42,
    "b": 6
  },
  "hsl": {
    "h": 85,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26236,
    "c": 0.06064,
    "h": 129.3
  },
  "luminance": 0.01902
}

Semantic roles & 50–950 ramp

primary
#1B2A06
secondary
#40216B
accent
#36F284
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#030501
muted
#787977

Preview Lab

Preview with #1B2A06

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

Preview Lab → · Contrast checker → · Palette generator →

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