#152A07#152A07

#152A07 is a dark, moderate yellow-green. Relative luminance 0.018; OKLCH L 25.8% C 0.063 H 135.1°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#152A07
RGBrgb(21, 42, 7)
HSLhsl(96, 71%, 10%)
HSVhsv(96, 83%, 16%)
CMYKcmyk(50%, 0%, 83.3%, 83.5%)
CIE-LABlab(14.57, -16.15, 18.08)
CIE-LCHlch(14.57, 24.24, 131.77°)
OKLaboklab(25.81% -0.045 0.0448)
OKLCHoklch(25.81% 0.063 135.1)
XYZxyz(1.1755, 1.8306, 0.4924)
Luminance0.0183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A07 #1C072A
analogous
#272A07 #152A07 #072A0B
triadic
#152A07 #07152A #2A0715
tetradic
#152A07 #07272A #1C072A #2A0B07
square
#152A07 #07272A #1C072A #2A0B07
split-complementary
#152A07 #0B072A #2A0727
monochromatic
#0D1A04 #0D1A04 #152A07 #2F5E10 #499318

Accessibility & contrast

On white

15.37
#152A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#152A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152A07
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A07#FFFFFF#000000##FFFFFF
##152A071.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2604
Deuteranopia (green-blind)
#29240A
Tritanopia (blue-blind)
#152823
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #152a07;
/* rgb */ color: rgb(21, 42, 7);
/* oklch */ color: oklch(25.8% 0.063 135.1);
Tailwind
colors: {
  custom: {
    50: '#54634a',
    500: '#152a07',
    950: '#000000',
  },
}
SCSS
$custom: #152a07;
$custom-light: #54634a;
$custom-dark: #000000;
JSON
{
  "hex": "#152a07",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 7
  },
  "hsl": {
    "h": 96,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.25812,
    "c": 0.06349,
    "h": 135.1
  },
  "luminance": 0.01831
}

Semantic roles & 50–950 ramp

primary
#152A07
secondary
#4D236A
accent
#3AEEA6
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#030501
muted
#787977

Preview Lab

Preview with #152A07

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

Preview Lab → · Contrast checker → · Palette generator →

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