#152B06#152B06

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

Color values

HEX#152B06
RGBrgb(21, 43, 6)
HSLhsl(96, 76%, 10%)
HSVhsv(96, 86%, 17%)
CMYKcmyk(51.2%, 0%, 86%, 83.1%)
CIE-LABlab(14.96, -16.81, 18.98)
CIE-LCHlch(14.96, 25.35, 131.52°)
OKLaboklab(26.12% -0.0469 0.0468)
OKLCHoklch(26.12% 0.066 135.1)
XYZxyz(1.2060, 1.9003, 0.4755)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B06 #1C062B
analogous
#282B06 #152B06 #062B0A
triadic
#152B06 #06152B #2B0615
tetradic
#152B06 #06282B #1C062B #2B0A06
square
#152B06 #06282B #1C062B #2B0A06
split-complementary
#152B06 #0A062B #2B0628
monochromatic
#0D1B04 #0D1B04 #152B06 #2F610D #499615

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##152B06#FFFFFF#000000##FFFFFF
##152B061.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)
#2D2702
Deuteranopia (green-blind)
#2A2509
Tritanopia (blue-blind)
#142924
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #152b06;
/* rgb */ color: rgb(21, 43, 6);
/* oklch */ color: oklch(26.1% 0.066 135.1);
Tailwind
colors: {
  custom: {
    50: '#546449',
    500: '#152b06',
    950: '#000000',
  },
}
SCSS
$custom: #152b06;
$custom-light: #546449;
$custom-dark: #000000;
JSON
{
  "hex": "#152b06",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 6
  },
  "hsl": {
    "h": 95.676,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26122,
    "c": 0.06624,
    "h": 135.1
  },
  "luminance": 0.019
}

Semantic roles & 50–950 ramp

primary
#152B06
secondary
#4D216C
accent
#36F2A6
background
#F4F6F4
surface
#E8EBE7
border
#C4C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #152B06

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

Preview Lab → · Contrast checker → · Palette generator →

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