#152B04#152B04

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

Color values

HEX#152B04
RGBrgb(21, 43, 4)
HSLhsl(94, 83%, 9%)
HSVhsv(94, 91%, 17%)
CMYKcmyk(51.2%, 0%, 90.7%, 83.1%)
CIE-LABlab(14.93, -17.06, 19.77)
CIE-LCHlch(14.93, 26.11, 130.79°)
OKLaboklab(26.1% -0.0478 0.049)
OKLCHoklch(26.1% 0.069 134.3)
XYZxyz(1.1950, 1.8959, 0.4178)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B04 #1A042B
analogous
#292B04 #152B04 #042B07
triadic
#152B04 #04152B #2B0415
tetradic
#152B04 #04292B #1A042B #2B0704
square
#152B04 #04292B #1A042B #2B0704
split-complementary
#152B04 #07042B #2B0429
monochromatic
#0E1C03 #0E1C03 #152B04 #306309 #4C9B0E

Accessibility & contrast

On white

15.23
#152B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152B04
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B04#FFFFFF#000000##FFFFFF
##152B041.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2700
Deuteranopia (green-blind)
#2A2507
Tritanopia (blue-blind)
#152923
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #152b04;
/* rgb */ color: rgb(21, 43, 4);
/* oklch */ color: oklch(26.1% 0.069 134.3);
Tailwind
colors: {
  custom: {
    50: '#546448',
    500: '#152b04',
    950: '#000000',
  },
}
SCSS
$custom: #152b04;
$custom-light: #546448;
$custom-dark: #000000;
JSON
{
  "hex": "#152b04",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 4
  },
  "hsl": {
    "h": 93.846,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26095,
    "c": 0.0685,
    "h": 134.3
  },
  "luminance": 0.01896
}

Semantic roles & 50–950 ramp

primary
#152B04
secondary
#4B1D6E
accent
#2EF9A1
background
#F4F6F4
surface
#E8EBE6
border
#C4C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #152B04

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

Preview Lab → · Contrast checker → · Palette generator →

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