#152C04#152C04

#152C04 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.4% C 0.070 H 134.7°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#152C04
RGBrgb(21, 44, 4)
HSLhsl(95, 83%, 9%)
HSVhsv(95, 91%, 17%)
CMYKcmyk(52.3%, 0%, 90.9%, 82.7%)
CIE-LABlab(15.33, -17.58, 20.27)
CIE-LCHlch(15.33, 26.83, 130.93°)
OKLaboklab(26.42% -0.0492 0.0498)
OKLCHoklch(26.42% 0.07 134.7)
XYZxyz(1.2318, 1.9695, 0.4301)
Luminance0.0197 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C04 #1B042C
analogous
#292C04 #152C04 #042C07
triadic
#152C04 #04152C #2C0415
tetradic
#152C04 #04292C #1B042C #2C0704
square
#152C04 #04292C #1B042C #2C0704
split-complementary
#152C04 #07042C #2C0429
monochromatic
#0D1C03 #0D1C03 #152C04 #306409 #4B9C0E

Accessibility & contrast

On white

15.06
#152C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#152C04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C04
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C04#FFFFFF#000000##FFFFFF
##152C041.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2800
Deuteranopia (green-blind)
#2B2607
Tritanopia (blue-blind)
#152A24
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #152c04;
/* rgb */ color: rgb(21, 44, 4);
/* oklch */ color: oklch(26.4% 0.070 134.7);
Tailwind
colors: {
  custom: {
    50: '#546548',
    500: '#152c04',
    950: '#000000',
  },
}
SCSS
$custom: #152c04;
$custom-light: #546548;
$custom-dark: #000000;
JSON
{
  "hex": "#152c04",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 4
  },
  "hsl": {
    "h": 94.5,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26418,
    "c": 0.07005,
    "h": 134.7
  },
  "luminance": 0.0197
}

Semantic roles & 50–950 ramp

primary
#152C04
secondary
#4C1D6F
accent
#2EFAA3
background
#F5F6F4
surface
#E8EBE6
border
#C4C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #152C04

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

Preview Lab → · Contrast checker → · Palette generator →

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