#152B05#152B05

#152B05 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.1% C 0.067 H 134.7°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#152B05
RGBrgb(21, 43, 5)
HSLhsl(95, 79%, 9%)
HSVhsv(95, 88%, 17%)
CMYKcmyk(51.2%, 0%, 88.4%, 83.1%)
CIE-LABlab(14.94, -16.93, 19.37)
CIE-LCHlch(14.94, 25.73, 131.15°)
OKLaboklab(26.11% -0.0474 0.0479)
OKLCHoklch(26.11% 0.067 134.7)
XYZxyz(1.2005, 1.8981, 0.4467)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B05 #1B052B
analogous
#282B05 #152B05 #052B08
triadic
#152B05 #05152B #2B0515
tetradic
#152B05 #05282B #1B052B #2B0805
square
#152B05 #05282B #1B052B #2B0805
split-complementary
#152B05 #08052B #2B0528
monochromatic
#0D1B03 #0D1B03 #152B05 #30620B #4B9912

Accessibility & contrast

On white

15.22
#152B05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#152B05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152B05
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B05#FFFFFF#000000##FFFFFF
##152B051.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2701
Deuteranopia (green-blind)
#2A2508
Tritanopia (blue-blind)
#152923
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #152b05;
/* rgb */ color: rgb(21, 43, 5);
/* oklch */ color: oklch(26.1% 0.067 134.7);
Tailwind
colors: {
  custom: {
    50: '#546449',
    500: '#152b05',
    950: '#000000',
  },
}
SCSS
$custom: #152b05;
$custom-light: #546449;
$custom-dark: #000000;
JSON
{
  "hex": "#152b05",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 5
  },
  "hsl": {
    "h": 94.737,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26108,
    "c": 0.06735,
    "h": 134.7
  },
  "luminance": 0.01898
}

Semantic roles & 50–950 ramp

primary
#152B05
secondary
#4C1F6D
accent
#32F6A3
background
#F4F6F4
surface
#E8EBE6
border
#C4C6C2
text
#030501
muted
#787A77

Preview Lab

Preview with #152B05

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

Preview Lab → · Contrast checker → · Palette generator →

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