#152D0F#152D0F

#152D0F is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.9% C 0.060 H 139.7°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#152D0F
RGBrgb(21, 45, 15)
HSLhsl(108, 50%, 12%)
HSVhsv(108, 67%, 18%)
CMYKcmyk(53.3%, 0%, 66.7%, 82.4%)
CIE-LABlab(15.85, -16.70, 16.16)
CIE-LCHlch(15.85, 23.24, 135.94°)
OKLaboklab(26.89% -0.0458 0.0389)
OKLCHoklch(26.89% 0.06 139.7)
XYZxyz(1.3338, 2.0706, 0.7812)
Luminance0.0207 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D0F #270F2D
analogous
#242D0F #152D0F #0F2D18
triadic
#152D0F #0F152D #2D0F15
tetradic
#152D0F #0F242D #270F2D #2D180F
square
#152D0F #0F242D #270F2D #2D180F
split-complementary
#152D0F #180F2D #2D0F24
monochromatic
#0B1708 #0B1708 #152D0F #2A5B1E #40892E

Accessibility & contrast

On white

14.85
#152D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#152D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152D0F
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D0F#FFFFFF#000000##FFFFFF
##152D0F1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E290C
Deuteranopia (green-blind)
#2B2711
Tritanopia (blue-blind)
#132B26
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #152d0f;
/* rgb */ color: rgb(21, 45, 15);
/* oklch */ color: oklch(26.9% 0.060 139.7);
Tailwind
colors: {
  custom: {
    50: '#54664e',
    500: '#152d0f',
    950: '#000000',
  },
}
SCSS
$custom: #152d0f;
$custom-light: #54664e;
$custom-dark: #000000;
JSON
{
  "hex": "#152d0f",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 15
  },
  "hsl": {
    "h": 108,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.26893,
    "c": 0.06004,
    "h": 139.7
  },
  "luminance": 0.02071
}

Semantic roles & 50–950 ramp

primary
#152D0F
secondary
#5C3166
accent
#4EDABE
background
#F4F6F4
surface
#E8EBE7
border
#C4C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #152D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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