#152C0F#152C0F

#152C0F is a dark, muted green. Relative luminance 0.020; OKLCH L 26.6% C 0.058 H 139.5°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#152C0F
RGBrgb(21, 44, 15)
HSLhsl(108, 49%, 12%)
HSVhsv(108, 66%, 17%)
CMYKcmyk(52.3%, 0%, 65.9%, 82.7%)
CIE-LABlab(15.46, -16.16, 15.66)
CIE-LCHlch(15.46, 22.50, 135.89°)
OKLaboklab(26.57% -0.0443 0.0379)
OKLCHoklch(26.57% 0.058 139.5)
XYZxyz(1.2961, 1.9952, 0.7687)
Luminance0.0199 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C0F #260F2C
analogous
#242C0F #152C0F #0F2C18
triadic
#152C0F #0F152C #2C0F15
tetradic
#152C0F #0F242C #260F2C #2C180F
square
#152C0F #0F242C #260F2C #2C180F
split-complementary
#152C0F #180F2C #2C0F24
monochromatic
#0B1708 #0B1708 #152C0F #2B5A1F #41872E

Accessibility & contrast

On white

15.01
#152C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#152C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C0F
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C0F#FFFFFF#000000##FFFFFF
##152C0F1.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D280C
Deuteranopia (green-blind)
#2A2611
Tritanopia (blue-blind)
#132A25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #152c0f;
/* rgb */ color: rgb(21, 44, 15);
/* oklch */ color: oklch(26.6% 0.058 139.5);
Tailwind
colors: {
  custom: {
    50: '#54654e',
    500: '#152c0f',
    950: '#000000',
  },
}
SCSS
$custom: #152c0f;
$custom-light: #54654e;
$custom-dark: #000000;
JSON
{
  "hex": "#152c0f",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 15
  },
  "hsl": {
    "h": 107.586,
    "s": 49.153,
    "l": 11.569
  },
  "oklch": {
    "l": 0.26573,
    "c": 0.05826,
    "h": 139.5
  },
  "luminance": 0.01995
}

Semantic roles & 50–950 ramp

primary
#152C0F
secondary
#5B3165
accent
#4FD9BC
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #152C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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