#152805#152805

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

Color values

HEX#152805
RGBrgb(21, 40, 5)
HSLhsl(93, 78%, 9%)
HSVhsv(93, 88%, 16%)
CMYKcmyk(47.5%, 0%, 87.5%, 84.3%)
CIE-LABlab(13.76, -15.32, 17.83)
CIE-LCHlch(13.76, 23.51, 130.67°)
OKLaboklab(25.14% -0.043 0.0454)
OKLCHoklch(25.14% 0.063 133.4)
XYZxyz(1.0954, 1.6879, 0.4116)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152805 #180528
analogous
#272805 #152805 #052807
triadic
#152805 #051528 #280515
tetradic
#152805 #052728 #180528 #280705
square
#152805 #052728 #180528 #280705
split-complementary
#152805 #070528 #280527
monochromatic
#0E1B03 #0E1B03 #152805 #325E0C #4E9513

Accessibility & contrast

On white

15.70
#152805 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152805
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152805#FFFFFF#000000##FFFFFF
##1528051.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #152805;
/* rgb */ color: rgb(21, 40, 5);
/* oklch */ color: oklch(25.1% 0.063 133.4);
Tailwind
colors: {
  custom: {
    50: '#536249',
    500: '#152805',
    950: '#000000',
  },
}
SCSS
$custom: #152805;
$custom-light: #536249;
$custom-dark: #000000;
JSON
{
  "hex": "#152805",
  "rgb": {
    "r": 21,
    "g": 40,
    "b": 5
  },
  "hsl": {
    "h": 92.571,
    "s": 77.778,
    "l": 8.824
  },
  "oklch": {
    "l": 0.25137,
    "c": 0.06253,
    "h": 133.4
  },
  "luminance": 0.01688
}

Semantic roles & 50–950 ramp

primary
#152805
secondary
#481F6A
accent
#34F49C
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020500
muted
#787977

Preview Lab

Preview with #152805

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

Preview Lab → · Contrast checker → · Palette generator →

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