#152C02#152C02

#152C02 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.4% C 0.072 H 134.0°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#152C02
RGBrgb(21, 44, 2)
HSLhsl(93, 91%, 9%)
HSVhsv(93, 95%, 17%)
CMYKcmyk(52.3%, 0%, 95.5%, 82.7%)
CIE-LABlab(15.30, -17.83, 21.06)
CIE-LCHlch(15.30, 27.59, 130.25°)
OKLaboklab(26.39% -0.0502 0.0521)
OKLCHoklch(26.39% 0.072 134)
XYZxyz(1.2209, 1.9651, 0.3724)
Luminance0.0197 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C02 #19022C
analogous
#2A2C02 #152C02 #022C04
triadic
#152C02 #02152C #2C0215
tetradic
#152C02 #022A2C #19022C #2C0402
square
#152C02 #022A2C #19022C #2C0402
split-complementary
#152C02 #04022C #2C022A
monochromatic
#0E1D01 #0E1D01 #152C02 #316705 #4DA107

Accessibility & contrast

On white

15.08
#152C02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#152C02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C02
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C02#FFFFFF#000000##FFFFFF
##152C021.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2B2605
Tritanopia (blue-blind)
#152A24
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #152c02;
/* rgb */ color: rgb(21, 44, 2);
/* oklch */ color: oklch(26.4% 0.072 134.0);
Tailwind
colors: {
  custom: {
    50: '#546547',
    500: '#152c02',
    950: '#000000',
  },
}
SCSS
$custom: #152c02;
$custom-light: #546547;
$custom-dark: #000000;
JSON
{
  "hex": "#152c02",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 2
  },
  "hsl": {
    "h": 92.857,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.26392,
    "c": 0.07234,
    "h": 134
  },
  "luminance": 0.01965
}

Semantic roles & 50–950 ramp

primary
#152C02
secondary
#491971
accent
#29FF9E
background
#F5F6F4
surface
#E8EBE6
border
#C4C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #152C02

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

Preview Lab → · Contrast checker → · Palette generator →

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