#152E06#152E06

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

Color values

HEX#152E06
RGBrgb(21, 46, 6)
HSLhsl(98, 77%, 10%)
HSVhsv(98, 87%, 18%)
CMYKcmyk(54.3%, 0%, 87%, 82%)
CIE-LABlab(16.14, -18.37, 20.48)
CIE-LCHlch(16.14, 27.51, 131.88°)
OKLaboklab(27.09% -0.0511 0.0493)
OKLCHoklch(27.09% 0.071 136)
XYZxyz(1.3191, 2.1265, 0.5132)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E06 #1F062E
analogous
#292E06 #152E06 #062E0B
triadic
#152E06 #06152E #2E0615
tetradic
#152E06 #06292E #1F062E #2E0B06
square
#152E06 #06292E #1F062E #2E0B06
split-complementary
#152E06 #0B062E #2E0629
monochromatic
#0C1B04 #0C1B04 #152E06 #2E640D #469A14

Accessibility & contrast

On white

14.73
#152E06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#152E06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E06
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E06#FFFFFF#000000##FFFFFF
##152E061.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #152e06;
/* rgb */ color: rgb(21, 46, 6);
/* oklch */ color: oklch(27.1% 0.071 136.0);
Tailwind
colors: {
  custom: {
    50: '#556749',
    500: '#152e06',
    950: '#000000',
  },
}
SCSS
$custom: #152e06;
$custom-light: #556749;
$custom-dark: #000000;
JSON
{
  "hex": "#152e06",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 6
  },
  "hsl": {
    "h": 97.5,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27091,
    "c": 0.07101,
    "h": 136
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#152E06
secondary
#52216F
accent
#34F3AC
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #152E06

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

Preview Lab → · Contrast checker → · Palette generator →

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