#152F06#152F06

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

Color values

HEX#152F06
RGBrgb(21, 47, 6)
HSLhsl(98, 77%, 10%)
HSVhsv(98, 87%, 18%)
CMYKcmyk(55.3%, 0%, 87.2%, 81.6%)
CIE-LABlab(16.53, -18.87, 20.97)
CIE-LCHlch(16.53, 28.21, 131.99°)
OKLaboklab(27.41% -0.0525 0.0501)
OKLCHoklch(27.41% 0.073 136.3)
XYZxyz(1.3586, 2.2055, 0.5264)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F06 #20062F
analogous
#292F06 #152F06 #062F0C
triadic
#152F06 #06152F #2F0615
tetradic
#152F06 #06292F #20062F #2F0C06
square
#152F06 #06292F #20062F #2F0C06
split-complementary
#152F06 #0C062F #2F0629
monochromatic
#0C1B03 #0C1B03 #152F06 #2D650D #459C14

Accessibility & contrast

On white

14.57
#152F06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152F06
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F06#FFFFFF#000000##FFFFFF
##152F061.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #152f06;
/* rgb */ color: rgb(21, 47, 6);
/* oklch */ color: oklch(27.4% 0.073 136.3);
Tailwind
colors: {
  custom: {
    50: '#55684a',
    500: '#152f06',
    950: '#000000',
  },
}
SCSS
$custom: #152f06;
$custom-light: #55684a;
$custom-dark: #000000;
JSON
{
  "hex": "#152f06",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 6
  },
  "hsl": {
    "h": 98.049,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27414,
    "c": 0.07256,
    "h": 136.3
  },
  "luminance": 0.02206
}

Semantic roles & 50–950 ramp

primary
#152F06
secondary
#532170
accent
#34F4AE
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #152F06

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

Preview Lab → · Contrast checker → · Palette generator →

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