#152B07#152B07

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

Color values

HEX#152B07
RGBrgb(21, 43, 7)
HSLhsl(97, 72%, 10%)
HSVhsv(97, 84%, 17%)
CMYKcmyk(51.2%, 0%, 83.7%, 83.1%)
CIE-LABlab(14.97, -16.68, 18.59)
CIE-LCHlch(14.97, 24.98, 131.90°)
OKLaboklab(26.14% -0.0464 0.0457)
OKLCHoklch(26.14% 0.065 135.5)
XYZxyz(1.2115, 1.9025, 0.5043)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B07 #1D072B
analogous
#272B07 #152B07 #072B0B
triadic
#152B07 #07152B #2B0715
tetradic
#152B07 #07272B #1D072B #2B0B07
square
#152B07 #07272B #1D072B #2B0B07
split-complementary
#152B07 #0B072B #2B0727
monochromatic
#0D1A04 #0D1A04 #152B07 #2F6010 #489418

Accessibility & contrast

On white

15.21
#152B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152B07
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B07#FFFFFF#000000##FFFFFF
##152B071.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2703
Deuteranopia (green-blind)
#2A250A
Tritanopia (blue-blind)
#142924
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #152b07;
/* rgb */ color: rgb(21, 43, 7);
/* oklch */ color: oklch(26.1% 0.065 135.5);
Tailwind
colors: {
  custom: {
    50: '#54644a',
    500: '#152b07',
    950: '#000000',
  },
}
SCSS
$custom: #152b07;
$custom-light: #54644a;
$custom-dark: #000000;
JSON
{
  "hex": "#152b07",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 7
  },
  "hsl": {
    "h": 96.667,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26135,
    "c": 0.06514,
    "h": 135.5
  },
  "luminance": 0.01903
}

Semantic roles & 50–950 ramp

primary
#152B07
secondary
#4F236B
accent
#39EFA8
background
#F4F6F4
surface
#E8EBE7
border
#C4C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #152B07

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

Preview Lab → · Contrast checker → · Palette generator →

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