#152F07#152F07

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

Color values

HEX#152F07
RGBrgb(21, 47, 7)
HSLhsl(99, 74%, 11%)
HSVhsv(99, 85%, 18%)
CMYKcmyk(55.3%, 0%, 85.1%, 81.6%)
CIE-LABlab(16.54, -18.76, 20.58)
CIE-LCHlch(16.54, 27.84, 132.35°)
OKLaboklab(27.43% -0.0521 0.0491)
OKLCHoklch(27.43% 0.072 136.7)
XYZxyz(1.3641, 2.2077, 0.5552)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F07 #21072F
analogous
#292F07 #152F07 #072F0D
triadic
#152F07 #07152F #2F0715
tetradic
#152F07 #07292F #21072F #2F0D07
square
#152F07 #07292F #21072F #2F0D07
split-complementary
#152F07 #0D072F #2F0729
monochromatic
#0C1B04 #0C1B04 #152F07 #2D640F #459A17

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##152F07#FFFFFF#000000##FFFFFF
##152F071.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)
#312A03
Deuteranopia (green-blind)
#2D280B
Tritanopia (blue-blind)
#142D27
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #152f07;
/* rgb */ color: rgb(21, 47, 7);
/* oklch */ color: oklch(27.4% 0.072 136.7);
Tailwind
colors: {
  custom: {
    50: '#55684a',
    500: '#152f07',
    950: '#000000',
  },
}
SCSS
$custom: #152f07;
$custom-light: #55684a;
$custom-dark: #000000;
JSON
{
  "hex": "#152f07",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 7
  },
  "hsl": {
    "h": 99,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27426,
    "c": 0.07156,
    "h": 136.7
  },
  "luminance": 0.02208
}

Semantic roles & 50–950 ramp

primary
#152F07
secondary
#54236F
accent
#37F1B0
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #152F07

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

Preview Lab → · Contrast checker → · Palette generator →

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