#152F0A#152F0A

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

Color values

HEX#152F0A
RGBrgb(21, 47, 10)
HSLhsl(102, 65%, 11%)
HSVhsv(102, 79%, 18%)
CMYKcmyk(55.3%, 0%, 78.7%, 81.6%)
CIE-LABlab(16.57, -18.41, 19.40)
CIE-LCHlch(16.57, 26.74, 133.51°)
OKLaboklab(27.46% -0.0508 0.0462)
OKLCHoklch(27.46% 0.069 137.8)
XYZxyz(1.3805, 2.2143, 0.6418)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F0A #240A2F
analogous
#272F0A #152F0A #0A2F11
triadic
#152F0A #0A152F #2F0A15
tetradic
#152F0A #0A272F #240A2F #2F110A
square
#152F0A #0A272F #240A2F #2F110A
split-complementary
#152F0A #110A2F #2F0A27
monochromatic
#0B1905 #0B1905 #152F0A #2C6115 #42941F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##152F0A#FFFFFF#000000##FFFFFF
##152F0A1.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)
#312A06
Deuteranopia (green-blind)
#2D280D
Tritanopia (blue-blind)
#132D27
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #152f0a;
/* rgb */ color: rgb(21, 47, 10);
/* oklch */ color: oklch(27.5% 0.069 137.8);
Tailwind
colors: {
  custom: {
    50: '#55684b',
    500: '#152f0a',
    950: '#000000',
  },
}
SCSS
$custom: #152f0a;
$custom-light: #55684b;
$custom-dark: #000000;
JSON
{
  "hex": "#152f0a",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 10
  },
  "hsl": {
    "h": 102.162,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.27463,
    "c": 0.06867,
    "h": 137.8
  },
  "luminance": 0.02214
}

Semantic roles & 50–950 ramp

primary
#152F0A
secondary
#58296C
accent
#40E8B6
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #152F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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