#152F05#152F05

#152F05 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.4% C 0.074 H 136.0°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#152F05
RGBrgb(21, 47, 5)
HSLhsl(97, 81%, 10%)
HSVhsv(97, 89%, 18%)
CMYKcmyk(55.3%, 0%, 89.4%, 81.6%)
CIE-LABlab(16.52, -18.99, 21.37)
CIE-LCHlch(16.52, 28.59, 131.63°)
OKLaboklab(27.4% -0.0529 0.0511)
OKLCHoklch(27.4% 0.074 136)
XYZxyz(1.3531, 2.2033, 0.4975)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F05 #1F052F
analogous
#2A2F05 #152F05 #052F0A
triadic
#152F05 #05152F #2F0515
tetradic
#152F05 #052A2F #1F052F #2F0A05
square
#152F05 #052A2F #1F052F #2F0A05
split-complementary
#152F05 #0A052F #2F052A
monochromatic
#0C1C03 #0C1C03 #152F05 #2E660B #469E11

Accessibility & contrast

On white

14.58
#152F05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152F05
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F05#FFFFFF#000000##FFFFFF
##152F051.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A01
Deuteranopia (green-blind)
#2E2809
Tritanopia (blue-blind)
#142D27
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #152f05;
/* rgb */ color: rgb(21, 47, 5);
/* oklch */ color: oklch(27.4% 0.074 136.0);
Tailwind
colors: {
  custom: {
    50: '#556849',
    500: '#152f05',
    950: '#000000',
  },
}
SCSS
$custom: #152f05;
$custom-light: #556849;
$custom-dark: #000000;
JSON
{
  "hex": "#152f05",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 5
  },
  "hsl": {
    "h": 97.143,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27402,
    "c": 0.07358,
    "h": 136
  },
  "luminance": 0.02203
}

Semantic roles & 50–950 ramp

primary
#152F05
secondary
#521F71
accent
#31F7AC
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #152F05

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

Preview Lab → · Contrast checker → · Palette generator →

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