#152E05#152E05

#152E05 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.1% C 0.072 H 135.7°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#152E05
RGBrgb(21, 46, 5)
HSLhsl(97, 80%, 10%)
HSVhsv(97, 89%, 18%)
CMYKcmyk(54.3%, 0%, 89.1%, 82%)
CIE-LABlab(16.13, -18.49, 20.88)
CIE-LCHlch(16.13, 27.88, 131.53°)
OKLaboklab(27.08% -0.0516 0.0503)
OKLCHoklch(27.08% 0.072 135.7)
XYZxyz(1.3136, 2.1243, 0.4844)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E05 #1E052E
analogous
#2A2E05 #152E05 #052E09
triadic
#152E05 #05152E #2E0515
tetradic
#152E05 #052A2E #1E052E #2E0905
square
#152E05 #052A2E #1E052E #2E0905
split-complementary
#152E05 #09052E #2E052A
monochromatic
#0D1C03 #0D1C03 #152E05 #2E650B #479C11

Accessibility & contrast

On white

14.74
#152E05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#152E05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E05
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E05#FFFFFF#000000##FFFFFF
##152E051.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302901
Deuteranopia (green-blind)
#2D2708
Tritanopia (blue-blind)
#142C26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #152e05;
/* rgb */ color: rgb(21, 46, 5);
/* oklch */ color: oklch(27.1% 0.072 135.7);
Tailwind
colors: {
  custom: {
    50: '#556749',
    500: '#152e05',
    950: '#000000',
  },
}
SCSS
$custom: #152e05;
$custom-light: #556749;
$custom-dark: #000000;
JSON
{
  "hex": "#152e05",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 5
  },
  "hsl": {
    "h": 96.585,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.27078,
    "c": 0.07205,
    "h": 135.7
  },
  "luminance": 0.02124
}

Semantic roles & 50–950 ramp

primary
#152E05
secondary
#501F70
accent
#31F7AA
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #152E05

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

Preview Lab → · Contrast checker → · Palette generator →

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