#152F0B#152F0B

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

Color values

HEX#152F0B
RGBrgb(21, 47, 11)
HSLhsl(103, 62%, 11%)
HSVhsv(103, 77%, 18%)
CMYKcmyk(55.3%, 0%, 76.6%, 81.6%)
CIE-LABlab(16.58, -18.29, 18.99)
CIE-LCHlch(16.58, 26.37, 133.93°)
OKLaboklab(27.48% -0.0504 0.0452)
OKLCHoklch(27.48% 0.068 138.1)
XYZxyz(1.3861, 2.2165, 0.6713)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F0B #250B2F
analogous
#272F0B #152F0B #0B2F13
triadic
#152F0B #0B152F #2F0B15
tetradic
#152F0B #0B272F #250B2F #2F130B
square
#152F0B #0B272F #250B2F #2F130B
split-complementary
#152F0B #130B2F #2F0B27
monochromatic
#0B1906 #0B1906 #152F0B #2B6117 #419222

Accessibility & contrast

On white

14.55
#152F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152F0B
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F0B#FFFFFF#000000##FFFFFF
##152F0B1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A07
Deuteranopia (green-blind)
#2D280E
Tritanopia (blue-blind)
#132D27
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #152f0b;
/* rgb */ color: rgb(21, 47, 11);
/* oklch */ color: oklch(27.5% 0.068 138.1);
Tailwind
colors: {
  custom: {
    50: '#55684c',
    500: '#152f0b',
    950: '#000000',
  },
}
SCSS
$custom: #152f0b;
$custom-light: #55684c;
$custom-dark: #000000;
JSON
{
  "hex": "#152f0b",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 11
  },
  "hsl": {
    "h": 103.333,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27475,
    "c": 0.06772,
    "h": 138.1
  },
  "luminance": 0.02217
}

Semantic roles & 50–950 ramp

primary
#152F0B
secondary
#592A6B
accent
#43E5B8
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #152F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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