#152807#152807

#152807 is a dark, moderate yellow-green. Relative luminance 0.017; OKLCH L 25.2% C 0.060 H 134.3°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#152807
RGBrgb(21, 40, 7)
HSLhsl(95, 70%, 9%)
HSVhsv(95, 83%, 16%)
CMYKcmyk(47.5%, 0%, 82.5%, 84.3%)
CIE-LABlab(13.78, -15.05, 17.05)
CIE-LCHlch(13.78, 22.74, 131.44°)
OKLaboklab(25.17% -0.042 0.0431)
OKLCHoklch(25.17% 0.06 134.3)
XYZxyz(1.1064, 1.6923, 0.4693)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152807 #1A0728
analogous
#262807 #152807 #07280A
triadic
#152807 #071528 #280715
tetradic
#152807 #072628 #1A0728 #280A07
square
#152807 #072628 #1A0728 #280A07
split-complementary
#152807 #0A0728 #280726
monochromatic
#0E1A05 #0E1A05 #152807 #305C10 #4C9019

Accessibility & contrast

On white

15.69
#152807 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152807
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152807#FFFFFF#000000##FFFFFF
##1528071.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #152807;
/* rgb */ color: rgb(21, 40, 7);
/* oklch */ color: oklch(25.2% 0.060 134.3);
Tailwind
colors: {
  custom: {
    50: '#53624a',
    500: '#152807',
    950: '#000000',
  },
}
SCSS
$custom: #152807;
$custom-light: #53624a;
$custom-dark: #000000;
JSON
{
  "hex": "#152807",
  "rgb": {
    "r": 21,
    "g": 40,
    "b": 7
  },
  "hsl": {
    "h": 94.545,
    "s": 70.213,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25166,
    "c": 0.06015,
    "h": 134.3
  },
  "luminance": 0.01692
}

Semantic roles & 50–950 ramp

primary
#152807
secondary
#4B2368
accent
#3BEDA1
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#020501
muted
#787977

Preview Lab

Preview with #152807

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

Preview Lab → · Contrast checker → · Palette generator →

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