#152F08#152F08

#152F08 is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.4% C 0.071 H 137.0°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#152F08
RGBrgb(21, 47, 8)
HSLhsl(100, 71%, 11%)
HSVhsv(100, 83%, 18%)
CMYKcmyk(55.3%, 0%, 83%, 81.6%)
CIE-LABlab(16.55, -18.64, 20.18)
CIE-LCHlch(16.55, 27.47, 132.72°)
OKLaboklab(27.44% -0.0516 0.0481)
OKLCHoklch(27.44% 0.071 137)
XYZxyz(1.3696, 2.2099, 0.5841)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F08 #22082F
analogous
#282F08 #152F08 #082F0E
triadic
#152F08 #08152F #2F0815
tetradic
#152F08 #08282F #22082F #2F0E08
square
#152F08 #08282F #22082F #2F0E08
split-complementary
#152F08 #0E082F #2F0828
monochromatic
#0C1A04 #0C1A04 #152F08 #2C6311 #44981A

Accessibility & contrast

On white

14.56
#152F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152F08
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F08#FFFFFF#000000##FFFFFF
##152F081.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A04
Deuteranopia (green-blind)
#2D280B
Tritanopia (blue-blind)
#142D27
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #152f08;
/* rgb */ color: rgb(21, 47, 8);
/* oklch */ color: oklch(27.4% 0.071 137.0);
Tailwind
colors: {
  custom: {
    50: '#55684a',
    500: '#152f08',
    950: '#000000',
  },
}
SCSS
$custom: #152f08;
$custom-light: #55684a;
$custom-dark: #000000;
JSON
{
  "hex": "#152f08",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 8
  },
  "hsl": {
    "h": 100,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.27438,
    "c": 0.07058,
    "h": 137
  },
  "luminance": 0.0221
}

Semantic roles & 50–950 ramp

primary
#152F08
secondary
#56256E
accent
#3AEEB2
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #152F08

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

Preview Lab → · Contrast checker → · Palette generator →

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