#152C09#152C09

#152C09 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.5% C 0.065 H 136.6°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#152C09
RGBrgb(21, 44, 9)
HSLhsl(99, 66%, 10%)
HSVhsv(99, 80%, 17%)
CMYKcmyk(52.3%, 0%, 79.5%, 82.7%)
CIE-LABlab(15.38, -16.97, 18.31)
CIE-LCHlch(15.38, 24.96, 132.82°)
OKLaboklab(26.48% -0.047 0.0445)
OKLCHoklch(26.48% 0.065 136.6)
XYZxyz(1.2592, 1.9804, 0.5743)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C09 #20092C
analogous
#262C09 #152C09 #092C0E
triadic
#152C09 #09152C #2C0915
tetradic
#152C09 #09262C #20092C #2C0E09
square
#152C09 #09262C #20092C #2C0E09
split-complementary
#152C09 #0E092C #2C0926
monochromatic
#0C1905 #0C1905 #152C09 #2D5F13 #45921E

Accessibility & contrast

On white

15.04
#152C09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#152C09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C09
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C09#FFFFFF#000000##FFFFFF
##152C091.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2805
Deuteranopia (green-blind)
#2B260C
Tritanopia (blue-blind)
#142A25
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #152c09;
/* rgb */ color: rgb(21, 44, 9);
/* oklch */ color: oklch(26.5% 0.065 136.6);
Tailwind
colors: {
  custom: {
    50: '#54654b',
    500: '#152c09',
    950: '#000000',
  },
}
SCSS
$custom: #152c09;
$custom-light: #54654b;
$custom-dark: #000000;
JSON
{
  "hex": "#152c09",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 9
  },
  "hsl": {
    "h": 99.429,
    "s": 66.038,
    "l": 10.392
  },
  "oklch": {
    "l": 0.26484,
    "c": 0.0647,
    "h": 136.6
  },
  "luminance": 0.01981
}

Semantic roles & 50–950 ramp

primary
#152C09
secondary
#53276A
accent
#3FE9AF
background
#F4F6F4
surface
#E8EBE7
border
#C4C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #152C09

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

Preview Lab → · Contrast checker → · Palette generator →

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