#152B09#152B09

#152B09 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.2% C 0.063 H 136.3°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#152B09
RGBrgb(21, 43, 9)
HSLhsl(99, 65%, 10%)
HSVhsv(99, 79%, 17%)
CMYKcmyk(51.2%, 0%, 79.1%, 83.1%)
CIE-LABlab(14.99, -16.43, 17.81)
CIE-LCHlch(14.99, 24.23, 132.70°)
OKLaboklab(26.16% -0.0455 0.0436)
OKLCHoklch(26.16% 0.063 136.3)
XYZxyz(1.2224, 1.9068, 0.5620)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B09 #1F092B
analogous
#262B09 #152B09 #092B0E
triadic
#152B09 #09152B #2B0915
tetradic
#152B09 #09262B #1F092B #2B0E09
square
#152B09 #09262B #1F092B #2B0E09
split-complementary
#152B09 #0E092B #2B0926
monochromatic
#0C1905 #0C1905 #152B09 #2E5E14 #46901E

Accessibility & contrast

On white

15.20
#152B09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#152B09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152B09
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B09#FFFFFF#000000##FFFFFF
##152B091.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2706
Deuteranopia (green-blind)
#2A250C
Tritanopia (blue-blind)
#142924
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #152b09;
/* rgb */ color: rgb(21, 43, 9);
/* oklch */ color: oklch(26.2% 0.063 136.3);
Tailwind
colors: {
  custom: {
    50: '#54644b',
    500: '#152b09',
    950: '#000000',
  },
}
SCSS
$custom: #152b09;
$custom-light: #54644b;
$custom-dark: #000000;
JSON
{
  "hex": "#152b09",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 9
  },
  "hsl": {
    "h": 98.824,
    "s": 65.385,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26162,
    "c": 0.06302,
    "h": 136.3
  },
  "luminance": 0.01907
}

Semantic roles & 50–950 ramp

primary
#152B09
secondary
#522769
accent
#3FE8AD
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #152B09

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

Preview Lab → · Contrast checker → · Palette generator →

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