#152D05#152D05

#152D05 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.8% C 0.070 H 135.4°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#152D05
RGBrgb(21, 45, 5)
HSLhsl(96, 80%, 10%)
HSVhsv(96, 89%, 18%)
CMYKcmyk(53.3%, 0%, 88.9%, 82.4%)
CIE-LABlab(15.73, -17.98, 20.38)
CIE-LCHlch(15.73, 27.18, 131.41°)
OKLaboklab(26.76% -0.0502 0.0495)
OKLCHoklch(26.76% 0.071 135.4)
XYZxyz(1.2750, 2.0471, 0.4715)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D05 #1D052D
analogous
#292D05 #152D05 #052D09
triadic
#152D05 #05152D #2D0515
tetradic
#152D05 #05292D #1D052D #2D0905
square
#152D05 #05292D #1D052D #2D0905
split-complementary
#152D05 #09052D #2D0529
monochromatic
#0D1C03 #0D1C03 #152D05 #2F640B #489B11

Accessibility & contrast

On white

14.90
#152D05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#152D05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152D05
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D05#FFFFFF#000000##FFFFFF
##152D051.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2801
Deuteranopia (green-blind)
#2C2608
Tritanopia (blue-blind)
#142B25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #152d05;
/* rgb */ color: rgb(21, 45, 5);
/* oklch */ color: oklch(26.8% 0.070 135.4);
Tailwind
colors: {
  custom: {
    50: '#546649',
    500: '#152d05',
    950: '#000000',
  },
}
SCSS
$custom: #152d05;
$custom-light: #546649;
$custom-dark: #000000;
JSON
{
  "hex": "#152d05",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 5
  },
  "hsl": {
    "h": 96,
    "s": 80,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26755,
    "c": 0.0705,
    "h": 135.4
  },
  "luminance": 0.02047
}

Semantic roles & 50–950 ramp

primary
#152D05
secondary
#4F1F6F
accent
#31F6A8
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #152D05

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

Preview Lab → · Contrast checker → · Palette generator →

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