#152B0F#152B0F

#152B0F is a dark, muted green. Relative luminance 0.019; OKLCH L 26.3% C 0.056 H 139.3°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#152B0F
RGBrgb(21, 43, 15)
HSLhsl(107, 48%, 11%)
HSVhsv(107, 65%, 17%)
CMYKcmyk(51.2%, 0%, 65.1%, 83.1%)
CIE-LABlab(15.07, -15.61, 15.16)
CIE-LCHlch(15.07, 21.76, 135.83°)
OKLaboklab(26.25% -0.0428 0.0368)
OKLCHoklch(26.25% 0.056 139.3)
XYZxyz(1.2593, 1.9216, 0.7564)
Luminance0.0192 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B0F #250F2B
analogous
#232B0F #152B0F #0F2B17
triadic
#152B0F #0F152B #2B0F15
tetradic
#152B0F #0F232B #250F2B #2B170F
square
#152B0F #0F232B #250F2B #2B170F
split-complementary
#152B0F #170F2B #2B0F23
monochromatic
#0B1708 #0B1708 #152B0F #2B581F #41862F

Accessibility & contrast

On white

15.17
#152B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152B0F
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B0F#FFFFFF#000000##FFFFFF
##152B0F1.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C270C
Deuteranopia (green-blind)
#292511
Tritanopia (blue-blind)
#132925
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #152b0f;
/* rgb */ color: rgb(21, 43, 15);
/* oklch */ color: oklch(26.3% 0.056 139.3);
Tailwind
colors: {
  custom: {
    50: '#54644e',
    500: '#152b0f',
    950: '#000000',
  },
}
SCSS
$custom: #152b0f;
$custom-light: #54644e;
$custom-dark: #000000;
JSON
{
  "hex": "#152b0f",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 15
  },
  "hsl": {
    "h": 107.143,
    "s": 48.276,
    "l": 11.373
  },
  "oklch": {
    "l": 0.26253,
    "c": 0.05644,
    "h": 139.3
  },
  "luminance": 0.01922
}

Semantic roles & 50–950 ramp

primary
#152B0F
secondary
#593264
accent
#50D8BB
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #152B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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