#152E02#152E02

#152E02 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.0% C 0.075 H 134.7°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#152E02
RGBrgb(21, 46, 2)
HSLhsl(94, 92%, 9%)
HSVhsv(94, 96%, 18%)
CMYKcmyk(54.3%, 0%, 95.7%, 82%)
CIE-LABlab(16.09, -18.84, 22.06)
CIE-LCHlch(16.09, 29.01, 130.51°)
OKLaboklab(27.04% -0.0529 0.0535)
OKLCHoklch(27.04% 0.075 134.7)
XYZxyz(1.2972, 2.1177, 0.3978)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E02 #1B022E
analogous
#2B2E02 #152E02 #022E05
triadic
#152E02 #02152E #2E0215
tetradic
#152E02 #022B2E #1B022E #2E0502
square
#152E02 #022B2E #1B022E #2E0502
split-complementary
#152E02 #05022E #2E022B
monochromatic
#0D1D01 #0D1D01 #152E02 #306905 #4BA307

Accessibility & contrast

On white

14.75
#152E02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152E02
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E02#FFFFFF#000000##FFFFFF
##152E021.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #152e02;
/* rgb */ color: rgb(21, 46, 2);
/* oklch */ color: oklch(27.0% 0.075 134.7);
Tailwind
colors: {
  custom: {
    50: '#556748',
    500: '#152e02',
    950: '#000000',
  },
}
SCSS
$custom: #152e02;
$custom-light: #556748;
$custom-dark: #000000;
JSON
{
  "hex": "#152e02",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 2
  },
  "hsl": {
    "h": 94.091,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27041,
    "c": 0.07529,
    "h": 134.7
  },
  "luminance": 0.02118
}

Semantic roles & 50–950 ramp

primary
#152E02
secondary
#4C1973
accent
#29FFA3
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #152E02

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

Preview Lab → · Contrast checker → · Palette generator →

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