#152D04#152D04

#152D04 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.7% C 0.072 H 135.0°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#152D04
RGBrgb(21, 45, 4)
HSLhsl(95, 84%, 10%)
HSVhsv(95, 91%, 18%)
CMYKcmyk(53.3%, 0%, 91.1%, 82.4%)
CIE-LABlab(15.72, -18.10, 20.77)
CIE-LCHlch(15.72, 27.55, 131.06°)
OKLaboklab(26.74% -0.0506 0.0506)
OKLCHoklch(26.74% 0.072 135)
XYZxyz(1.2695, 2.0449, 0.4427)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D04 #1C042D
analogous
#2A2D04 #152D04 #042D08
triadic
#152D04 #04152D #2D0415
tetradic
#152D04 #042A2D #1C042D #2D0804
square
#152D04 #042A2D #1C042D #2D0804
split-complementary
#152D04 #08042D #2D042A
monochromatic
#0D1C02 #0D1C02 #152D04 #2F6509 #499D0E

Accessibility & contrast

On white

14.90
#152D04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#152D04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152D04
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D04#FFFFFF#000000##FFFFFF
##152D041.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2C2607
Tritanopia (blue-blind)
#142B25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #152d04;
/* rgb */ color: rgb(21, 45, 4);
/* oklch */ color: oklch(26.7% 0.072 135.0);
Tailwind
colors: {
  custom: {
    50: '#546648',
    500: '#152d04',
    950: '#000000',
  },
}
SCSS
$custom: #152d04;
$custom-light: #546648;
$custom-dark: #000000;
JSON
{
  "hex": "#152d04",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 4
  },
  "hsl": {
    "h": 95.122,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26742,
    "c": 0.07159,
    "h": 135
  },
  "luminance": 0.02045
}

Semantic roles & 50–950 ramp

primary
#152D04
secondary
#4D1D70
accent
#2EFAA5
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #152D04

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

Preview Lab → · Contrast checker → · Palette generator →

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