#152F0D#152F0D

#152F0D is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.5% C 0.066 H 139.0°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#152F0D
RGBrgb(21, 47, 13)
HSLhsl(106, 57%, 12%)
HSVhsv(106, 72%, 18%)
CMYKcmyk(55.3%, 0%, 72.3%, 81.6%)
CIE-LABlab(16.61, -18.04, 18.11)
CIE-LCHlch(16.61, 25.56, 134.88°)
OKLaboklab(27.5% -0.0496 0.0431)
OKLCHoklch(27.5% 0.066 139)
XYZxyz(1.3984, 2.2214, 0.7358)
Luminance0.0222 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F0D #270D2F
analogous
#262F0D #152F0D #0D2F16
triadic
#152F0D #0D152F #2F0D15
tetradic
#152F0D #0D262F #270D2F #2F160D
square
#152F0D #0D262F #270D2F #2F160D
split-complementary
#152F0D #160D2F #2F0D26
monochromatic
#0B1807 #0B1807 #152F0D #2A5F1A #408F28

Accessibility & contrast

On white

14.54
#152F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#152F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152F0D
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F0D#FFFFFF#000000##FFFFFF
##152F0D1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A09
Deuteranopia (green-blind)
#2D2810
Tritanopia (blue-blind)
#132D28
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #152f0d;
/* rgb */ color: rgb(21, 47, 13);
/* oklch */ color: oklch(27.5% 0.066 139.0);
Tailwind
colors: {
  custom: {
    50: '#55684d',
    500: '#152f0d',
    950: '#000000',
  },
}
SCSS
$custom: #152f0d;
$custom-light: #55684d;
$custom-dark: #000000;
JSON
{
  "hex": "#152f0d",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 13
  },
  "hsl": {
    "h": 105.882,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.27503,
    "c": 0.0657,
    "h": 139
  },
  "luminance": 0.02222
}

Semantic roles & 50–950 ramp

primary
#152F0D
secondary
#5C2E6A
accent
#48E0BC
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #152F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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