#152E08#152E08

#152E08 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.1% C 0.069 H 136.8°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#152E08
RGBrgb(21, 46, 8)
HSLhsl(99, 70%, 11%)
HSVhsv(99, 83%, 18%)
CMYKcmyk(54.3%, 0%, 82.6%, 82%)
CIE-LABlab(16.16, -18.13, 19.70)
CIE-LCHlch(16.16, 26.77, 132.63°)
OKLaboklab(27.12% -0.0503 0.0473)
OKLCHoklch(27.12% 0.069 136.8)
XYZxyz(1.3300, 2.1309, 0.5709)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E08 #21082E
analogous
#282E08 #152E08 #082E0E
triadic
#152E08 #08152E #2E0815
tetradic
#152E08 #08282E #21082E #2E0E08
square
#152E08 #08282E #21082E #2E0E08
split-complementary
#152E08 #0E082E #2E0828
monochromatic
#0C1A05 #0C1A05 #152E08 #2D6211 #45961A

Accessibility & contrast

On white

14.72
#152E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#152E08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E08
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E08#FFFFFF#000000##FFFFFF
##152E081.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302904
Deuteranopia (green-blind)
#2D270B
Tritanopia (blue-blind)
#142C26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #152e08;
/* rgb */ color: rgb(21, 46, 8);
/* oklch */ color: oklch(27.1% 0.069 136.8);
Tailwind
colors: {
  custom: {
    50: '#55674a',
    500: '#152e08',
    950: '#000000',
  },
}
SCSS
$custom: #152e08;
$custom-light: #55674a;
$custom-dark: #000000;
JSON
{
  "hex": "#152e08",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 8
  },
  "hsl": {
    "h": 99.474,
    "s": 70.37,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27116,
    "c": 0.06898,
    "h": 136.8
  },
  "luminance": 0.02131
}

Semantic roles & 50–950 ramp

primary
#152E08
secondary
#54256D
accent
#3BEDB0
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #152E08

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

Preview Lab → · Contrast checker → · Palette generator →

#152E08 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva