#1B2D08#1B2D08

#1B2D08 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.2% C 0.063 H 131.7°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#1B2D08
RGBrgb(27, 45, 8)
HSLhsl(89, 70%, 10%)
HSVhsv(89, 82%, 18%)
CMYKcmyk(40%, 0%, 82.2%, 82.4%)
CIE-LABlab(16.14, -14.99, 19.75)
CIE-LCHlch(16.14, 24.79, 127.19°)
OKLaboklab(27.2% -0.0422 0.0473)
OKLCHoklch(27.2% 0.063 131.7)
XYZxyz(1.4342, 2.1273, 0.5647)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2D08 #1A082D
analogous
#2D2C08 #1B2D08 #092D08
triadic
#1B2D08 #081B2D #2D081B
tetradic
#1B2D08 #082D2C #1A082D #2D0809
square
#1B2D08 #082D2C #1A082D #2D0809
split-complementary
#1B2D08 #08092D #2C082D
monochromatic
#101A05 #101A05 #1B2D08 #3A6111 #59951A

Accessibility & contrast

On white

14.73
#1B2D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1B2D08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2D08
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2D08#FFFFFF#000000##FFFFFF
##1B2D081.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2904
Deuteranopia (green-blind)
#2D280B
Tritanopia (blue-blind)
#1C2B25
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1b2d08;
/* rgb */ color: rgb(27, 45, 8);
/* oklch */ color: oklch(27.2% 0.063 131.7);
Tailwind
colors: {
  custom: {
    50: '#59664a',
    500: '#1b2d08',
    950: '#000000',
  },
}
SCSS
$custom: #1b2d08;
$custom-light: #59664a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2d08",
  "rgb": {
    "r": 27,
    "g": 45,
    "b": 8
  },
  "hsl": {
    "h": 89.189,
    "s": 69.811,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27201,
    "c": 0.06341,
    "h": 131.7
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#1B2D08
secondary
#47256C
accent
#3BED92
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #1B2D08

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

Preview Lab → · Contrast checker → · Palette generator →

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