#152E04#152E04

#152E04 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.1% C 0.073 H 135.3°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#152E04
RGBrgb(21, 46, 4)
HSLhsl(96, 84%, 10%)
HSVhsv(96, 91%, 18%)
CMYKcmyk(54.3%, 0%, 91.3%, 82%)
CIE-LABlab(16.12, -18.61, 21.27)
CIE-LCHlch(16.12, 28.26, 131.18°)
OKLaboklab(27.07% -0.052 0.0514)
OKLCHoklch(27.07% 0.073 135.3)
XYZxyz(1.3081, 2.1221, 0.4555)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E04 #1D042E
analogous
#2A2E04 #152E04 #042E08
triadic
#152E04 #04152E #2E0415
tetradic
#152E04 #042A2E #1D042E #2E0804
square
#152E04 #042A2E #1D042E #2E0804
split-complementary
#152E04 #08042E #2E042A
monochromatic
#0D1C02 #0D1C02 #152E04 #2F6609 #489F0E

Accessibility & contrast

On white

14.74
#152E04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#152E04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E04
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E04#FFFFFF#000000##FFFFFF
##152E041.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2D2707
Tritanopia (blue-blind)
#142C26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #152e04;
/* rgb */ color: rgb(21, 46, 4);
/* oklch */ color: oklch(27.1% 0.073 135.3);
Tailwind
colors: {
  custom: {
    50: '#556749',
    500: '#152e04',
    950: '#000000',
  },
}
SCSS
$custom: #152e04;
$custom-light: #556749;
$custom-dark: #000000;
JSON
{
  "hex": "#152e04",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 4
  },
  "hsl": {
    "h": 95.714,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27066,
    "c": 0.07311,
    "h": 135.3
  },
  "luminance": 0.02122
}

Semantic roles & 50–950 ramp

primary
#152E04
secondary
#4F1D71
accent
#2EFAA7
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #152E04

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

Preview Lab → · Contrast checker → · Palette generator →

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