#152F12#152F12

#152F12 is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.6% C 0.060 H 141.7°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#152F12
RGBrgb(21, 47, 18)
HSLhsl(114, 45%, 13%)
HSVhsv(114, 62%, 18%)
CMYKcmyk(55.3%, 0%, 61.7%, 81.6%)
CIE-LABlab(16.68, -17.29, 15.48)
CIE-LCHlch(16.68, 23.21, 138.15°)
OKLaboklab(27.58% -0.0472 0.0373)
OKLCHoklch(27.58% 0.06 141.7)
XYZxyz(1.4349, 2.2360, 0.9281)
Luminance0.0224 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F12 #2C122F
analogous
#232F12 #152F12 #122F1D
triadic
#152F12 #12152F #2F1215
tetradic
#152F12 #12232F #2C122F #2F1D12
square
#152F12 #12232F #2C122F #2F1D12
split-complementary
#152F12 #1D122F #2F1223
monochromatic
#0A1608 #0A1608 #152F12 #295B23 #3D8834

Accessibility & contrast

On white

14.51
#152F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#152F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152F12
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F12#FFFFFF#000000##FFFFFF
##152F121.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B0F
Deuteranopia (green-blind)
#2D2814
Tritanopia (blue-blind)
#122D28
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #152f12;
/* rgb */ color: rgb(21, 47, 18);
/* oklch */ color: oklch(27.6% 0.060 141.7);
Tailwind
colors: {
  custom: {
    50: '#556850',
    500: '#152f12',
    950: '#000000',
  },
}
SCSS
$custom: #152f12;
$custom-light: #556850;
$custom-dark: #000000;
JSON
{
  "hex": "#152f12",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 18
  },
  "hsl": {
    "h": 113.793,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.27584,
    "c": 0.06011,
    "h": 141.7
  },
  "luminance": 0.02236
}

Semantic roles & 50–950 ramp

primary
#152F12
secondary
#623667
accent
#53D4C7
background
#F5F6F4
surface
#E8EBE7
border
#C4C6C3
text
#030602
muted
#787A78

Preview Lab

Preview with #152F12

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

Preview Lab → · Contrast checker → · Palette generator →

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