#152C0C#152C0C

#152C0C is a dark, moderate green. Relative luminance 0.020; OKLCH L 26.5% C 0.062 H 137.9°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#152C0C
RGBrgb(21, 44, 12)
HSLhsl(103, 57%, 11%)
HSVhsv(103, 73%, 17%)
CMYKcmyk(52.3%, 0%, 72.7%, 82.7%)
CIE-LABlab(15.42, -16.59, 17.09)
CIE-LCHlch(15.42, 23.82, 134.15°)
OKLaboklab(26.53% -0.0457 0.0413)
OKLCHoklch(26.53% 0.062 137.9)
XYZxyz(1.2763, 1.9873, 0.6641)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C0C #230C2C
analogous
#252C0C #152C0C #0C2C13
triadic
#152C0C #0C152C #2C0C15
tetradic
#152C0C #0C252C #230C2C #2C130C
square
#152C0C #0C252C #230C2C #2C130C
split-complementary
#152C0C #130C2C #2C0C25
monochromatic
#0B1807 #0B1807 #152C0C #2C5C19 #438C26

Accessibility & contrast

On white

15.03
#152C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152C0C
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C0C#FFFFFF#000000##FFFFFF
##152C0C1.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2809
Deuteranopia (green-blind)
#2A260E
Tritanopia (blue-blind)
#142A25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #152c0c;
/* rgb */ color: rgb(21, 44, 12);
/* oklch */ color: oklch(26.5% 0.062 137.9);
Tailwind
colors: {
  custom: {
    50: '#54654c',
    500: '#152c0c',
    950: '#000000',
  },
}
SCSS
$custom: #152c0c;
$custom-light: #54654c;
$custom-dark: #000000;
JSON
{
  "hex": "#152c0c",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 12
  },
  "hsl": {
    "h": 103.125,
    "s": 57.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.26526,
    "c": 0.06162,
    "h": 137.9
  },
  "luminance": 0.01987
}

Semantic roles & 50–950 ramp

primary
#152C0C
secondary
#572C67
accent
#47E0B5
background
#F4F6F4
surface
#E8EBE7
border
#C4C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #152C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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