#152F04#152F04

#152F04 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.4% C 0.075 H 135.7°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#152F04
RGBrgb(21, 47, 4)
HSLhsl(96, 84%, 10%)
HSVhsv(96, 91%, 18%)
CMYKcmyk(55.3%, 0%, 91.5%, 81.6%)
CIE-LABlab(16.51, -19.11, 21.76)
CIE-LCHlch(16.51, 28.96, 131.28°)
OKLaboklab(27.39% -0.0534 0.0522)
OKLCHoklch(27.39% 0.075 135.7)
XYZxyz(1.3477, 2.2011, 0.4687)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F04 #1E042F
analogous
#2B2F04 #152F04 #042F08
triadic
#152F04 #04152F #2F0415
tetradic
#152F04 #042B2F #1E042F #2F0804
square
#152F04 #042B2F #1E042F #2F0804
split-complementary
#152F04 #08042F #2F042B
monochromatic
#0D1C02 #0D1C02 #152F04 #2E6709 #47A00E

Accessibility & contrast

On white

14.58
#152F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#152F04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152F04
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F04#FFFFFF#000000##FFFFFF
##152F041.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#2E2808
Tritanopia (blue-blind)
#142D27
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #152f04;
/* rgb */ color: rgb(21, 47, 4);
/* oklch */ color: oklch(27.4% 0.075 135.7);
Tailwind
colors: {
  custom: {
    50: '#556849',
    500: '#152f04',
    950: '#000000',
  },
}
SCSS
$custom: #152f04;
$custom-light: #556849;
$custom-dark: #000000;
JSON
{
  "hex": "#152f04",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 4
  },
  "hsl": {
    "h": 96.279,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.27389,
    "c": 0.07462,
    "h": 135.7
  },
  "luminance": 0.02201
}

Semantic roles & 50–950 ramp

primary
#152F04
secondary
#501D72
accent
#2DFBA9
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030601
muted
#787A77

Preview Lab

Preview with #152F04

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

Preview Lab → · Contrast checker → · Palette generator →

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