#152602#152602

#152602 is a very dark, moderate yellow-green. Relative luminance 0.015; OKLCH L 24.4% C 0.063 H 131.2°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#152602
RGBrgb(21, 38, 2)
HSLhsl(88, 90%, 8%)
HSVhsv(88, 95%, 15%)
CMYKcmyk(44.7%, 0%, 94.7%, 85.1%)
CIE-LABlab(12.92, -14.62, 17.94)
CIE-LCHlch(12.92, 23.15, 129.17°)
OKLaboklab(24.44% -0.0416 0.0476)
OKLCHoklch(24.44% 0.063 131.2)
XYZxyz(1.0133, 1.5500, 0.3032)
Luminance0.0155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152602 #130226
analogous
#262502 #152602 #032602
triadic
#152602 #021526 #260215
tetradic
#152602 #022625 #130226 #260203
square
#152602 #022625 #130226 #260203
split-complementary
#152602 #020326 #250226
monochromatic
#101D02 #101D02 #152602 #356005 #559A08

Accessibility & contrast

On white

16.03
#152602 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#152602 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152602
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152602#FFFFFF#000000##FFFFFF
##1526021.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282200
Deuteranopia (green-blind)
#262104
Tritanopia (blue-blind)
#16241F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #152602;
/* rgb */ color: rgb(21, 38, 2);
/* oklch */ color: oklch(24.4% 0.063 131.2);
Tailwind
colors: {
  custom: {
    50: '#536047',
    500: '#152602',
    950: '#000000',
  },
}
SCSS
$custom: #152602;
$custom-light: #536047;
$custom-dark: #000000;
JSON
{
  "hex": "#152602",
  "rgb": {
    "r": 21,
    "g": 38,
    "b": 2
  },
  "hsl": {
    "h": 88.333,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.24443,
    "c": 0.06323,
    "h": 131.2
  },
  "luminance": 0.0155
}

Semantic roles & 50–950 ramp

primary
#152602
secondary
#40186B
accent
#29FF8E
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020500
muted
#787977

Preview Lab

Preview with #152602

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

Preview Lab → · Contrast checker → · Palette generator →

#152602 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva