#152C07#152C07

#152C07 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.5% C 0.067 H 135.8°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#152C07
RGBrgb(21, 44, 7)
HSLhsl(97, 73%, 10%)
HSVhsv(97, 84%, 17%)
CMYKcmyk(52.3%, 0%, 84.1%, 82.7%)
CIE-LABlab(15.36, -17.21, 19.10)
CIE-LCHlch(15.36, 25.71, 132.03°)
OKLaboklab(26.46% -0.0479 0.0466)
OKLCHoklch(26.46% 0.067 135.8)
XYZxyz(1.2483, 1.9761, 0.5166)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C07 #1E072C
analogous
#282C07 #152C07 #072C0B
triadic
#152C07 #07152C #2C0715
tetradic
#152C07 #07282C #1E072C #2C0B07
square
#152C07 #07282C #1E072C #2C0B07
split-complementary
#152C07 #0B072C #2C0728
monochromatic
#0D1A04 #0D1A04 #152C07 #2E610F #479618

Accessibility & contrast

On white

15.05
#152C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#152C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C07
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C07#FFFFFF#000000##FFFFFF
##152C071.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2803
Deuteranopia (green-blind)
#2B260A
Tritanopia (blue-blind)
#142A25
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #152c07;
/* rgb */ color: rgb(21, 44, 7);
/* oklch */ color: oklch(26.5% 0.067 135.8);
Tailwind
colors: {
  custom: {
    50: '#54654a',
    500: '#152c07',
    950: '#000000',
  },
}
SCSS
$custom: #152c07;
$custom-light: #54654a;
$custom-dark: #000000;
JSON
{
  "hex": "#152c07",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 7
  },
  "hsl": {
    "h": 97.297,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.26458,
    "c": 0.06677,
    "h": 135.8
  },
  "luminance": 0.01976
}

Semantic roles & 50–950 ramp

primary
#152C07
secondary
#50236C
accent
#39EFAA
background
#F4F6F4
surface
#E8EBE7
border
#C4C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #152C07

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

Preview Lab → · Contrast checker → · Palette generator →

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