#152F0C#152F0C

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

Color values

HEX#152F0C
RGBrgb(21, 47, 12)
HSLhsl(105, 59%, 12%)
HSVhsv(105, 74%, 18%)
CMYKcmyk(55.3%, 0%, 74.5%, 81.6%)
CIE-LABlab(16.60, -18.17, 18.56)
CIE-LCHlch(16.60, 25.97, 134.38°)
OKLaboklab(27.49% -0.05 0.0442)
OKLCHoklch(27.49% 0.067 138.5)
XYZxyz(1.3921, 2.2189, 0.7027)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F0C #260C2F
analogous
#272F0C #152F0C #0C2F15
triadic
#152F0C #0C152F #2F0C15
tetradic
#152F0C #0C272F #260C2F #2F150C
square
#152F0C #0C272F #260C2F #2F150C
split-complementary
#152F0C #150C2F #2F0C27
monochromatic
#0B1806 #0B1806 #152F0C #2B6018 #419125

Accessibility & contrast

On white

14.54
#152F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152F0C
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F0C#FFFFFF#000000##FFFFFF
##152F0C1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A08
Deuteranopia (green-blind)
#2D280F
Tritanopia (blue-blind)
#132D28
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #152f0c;
/* rgb */ color: rgb(21, 47, 12);
/* oklch */ color: oklch(27.5% 0.067 138.5);
Tailwind
colors: {
  custom: {
    50: '#55684c',
    500: '#152f0c',
    950: '#000000',
  },
}
SCSS
$custom: #152f0c;
$custom-light: #55684c;
$custom-dark: #000000;
JSON
{
  "hex": "#152f0c",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 12
  },
  "hsl": {
    "h": 104.571,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27489,
    "c": 0.06672,
    "h": 138.5
  },
  "luminance": 0.02219
}

Semantic roles & 50–950 ramp

primary
#152F0C
secondary
#5B2C6B
accent
#45E3BA
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #152F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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