#152B0B#152B0B

#152B0B is a dark, moderate green. Relative luminance 0.019; OKLCH L 26.2% C 0.061 H 137.1°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#152B0B
RGBrgb(21, 43, 11)
HSLhsl(101, 59%, 11%)
HSVhsv(101, 74%, 17%)
CMYKcmyk(51.2%, 0%, 74.4%, 83.1%)
CIE-LABlab(15.01, -16.18, 17.01)
CIE-LCHlch(15.01, 23.48, 133.57°)
OKLaboklab(26.19% -0.0447 0.0415)
OKLCHoklch(26.19% 0.061 137.1)
XYZxyz(1.2335, 1.9113, 0.6205)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B0B #210B2B
analogous
#252B0B #152B0B #0B2B11
triadic
#152B0B #0B152B #2B0B15
tetradic
#152B0B #0B252B #210B2B #2B110B
square
#152B0B #0B252B #210B2B #2B110B
split-complementary
#152B0B #110B2B #2B0B25
monochromatic
#0C1806 #0C1806 #152B0B #2D5C17 #458C24

Accessibility & contrast

On white

15.19
#152B0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#152B0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152B0B
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B0B#FFFFFF#000000##FFFFFF
##152B0B1.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2708
Deuteranopia (green-blind)
#2A250D
Tritanopia (blue-blind)
#142924
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #152b0b;
/* rgb */ color: rgb(21, 43, 11);
/* oklch */ color: oklch(26.2% 0.061 137.1);
Tailwind
colors: {
  custom: {
    50: '#54644c',
    500: '#152b0b',
    950: '#000000',
  },
}
SCSS
$custom: #152b0b;
$custom-light: #54644c;
$custom-dark: #000000;
JSON
{
  "hex": "#152b0b",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 11
  },
  "hsl": {
    "h": 101.25,
    "s": 59.259,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2619,
    "c": 0.06095,
    "h": 137.1
  },
  "luminance": 0.01911
}

Semantic roles & 50–950 ramp

primary
#152B0B
secondary
#542B67
accent
#45E2B1
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #152B0B

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

Preview Lab → · Contrast checker → · Palette generator →

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