#152A05#152A05

#152A05 is a dark, moderate yellow-green. Relative luminance 0.018; OKLCH L 25.8% C 0.066 H 134.3°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#152A05
RGBrgb(21, 42, 5)
HSLhsl(94, 79%, 9%)
HSVhsv(94, 88%, 16%)
CMYKcmyk(50%, 0%, 88.1%, 83.5%)
CIE-LABlab(14.55, -16.40, 18.86)
CIE-LCHlch(14.55, 25.00, 131.01°)
OKLaboklab(25.78% -0.0459 0.0471)
OKLCHoklch(25.78% 0.066 134.3)
XYZxyz(1.1646, 1.8263, 0.4347)
Luminance0.0183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A05 #1A052A
analogous
#282A05 #152A05 #052A08
triadic
#152A05 #05152A #2A0515
tetradic
#152A05 #05282A #1A052A #2A0805
square
#152A05 #05282A #1A052A #2A0805
split-complementary
#152A05 #08052A #2A0528
monochromatic
#0E1B03 #0E1B03 #152A05 #30610C #4C9712

Accessibility & contrast

On white

15.38
#152A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#152A05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152A05
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A05#FFFFFF#000000##FFFFFF
##152A051.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2601
Deuteranopia (green-blind)
#292408
Tritanopia (blue-blind)
#152823
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #152a05;
/* rgb */ color: rgb(21, 42, 5);
/* oklch */ color: oklch(25.8% 0.066 134.3);
Tailwind
colors: {
  custom: {
    50: '#546349',
    500: '#152a05',
    950: '#000000',
  },
}
SCSS
$custom: #152a05;
$custom-light: #546349;
$custom-dark: #000000;
JSON
{
  "hex": "#152a05",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 5
  },
  "hsl": {
    "h": 94.054,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25784,
    "c": 0.06577,
    "h": 134.3
  },
  "luminance": 0.01826
}

Semantic roles & 50–950 ramp

primary
#152A05
secondary
#4B1F6C
accent
#33F5A1
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#030501
muted
#787977

Preview Lab

Preview with #152A05

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

Preview Lab → · Contrast checker → · Palette generator →

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