#152802#152802

#152802 is a dark, moderate yellow-green. Relative luminance 0.017; OKLCH L 25.1% C 0.066 H 132.2°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#152802
RGBrgb(21, 40, 2)
HSLhsl(90, 90%, 8%)
HSVhsv(90, 95%, 16%)
CMYKcmyk(47.5%, 0%, 95%, 84.3%)
CIE-LABlab(13.72, -15.72, 19.00)
CIE-LCHlch(13.72, 24.66, 129.60°)
OKLaboklab(25.09% -0.0446 0.0491)
OKLCHoklch(25.09% 0.066 132.2)
XYZxyz(1.0790, 1.6813, 0.3251)
Luminance0.0168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152802 #150228
analogous
#282802 #152802 #022802
triadic
#152802 #021528 #280215
tetradic
#152802 #022828 #150228 #280202
square
#152802 #022828 #150228 #280202
split-complementary
#152802 #020228 #280228
monochromatic
#0F1D01 #0F1D01 #152802 #346205 #529D08

Accessibility & contrast

On white

15.72
#152802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#152802 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152802
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152802#FFFFFF#000000##FFFFFF
##1528021.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2400
Deuteranopia (green-blind)
#282305
Tritanopia (blue-blind)
#152621
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #152802;
/* rgb */ color: rgb(21, 40, 2);
/* oklch */ color: oklch(25.1% 0.066 132.2);
Tailwind
colors: {
  custom: {
    50: '#536247',
    500: '#152802',
    950: '#000000',
  },
}
SCSS
$custom: #152802;
$custom-light: #536247;
$custom-dark: #000000;
JSON
{
  "hex": "#152802",
  "rgb": {
    "r": 21,
    "g": 40,
    "b": 2
  },
  "hsl": {
    "h": 90,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.25093,
    "c": 0.06631,
    "h": 132.2
  },
  "luminance": 0.01681
}

Semantic roles & 50–950 ramp

primary
#152802
secondary
#43196D
accent
#29FF94
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020500
muted
#787977

Preview Lab

Preview with #152802

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

Preview Lab → · Contrast checker → · Palette generator →

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