#152B02#152B02

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

Color values

HEX#152B02
RGBrgb(21, 43, 2)
HSLhsl(92, 91%, 9%)
HSVhsv(92, 95%, 17%)
CMYKcmyk(51.2%, 0%, 95.3%, 83.1%)
CIE-LABlab(14.91, -17.31, 20.55)
CIE-LCHlch(14.91, 26.87, 130.11°)
OKLaboklab(26.07% -0.0488 0.0513)
OKLCHoklch(26.07% 0.071 133.6)
XYZxyz(1.1841, 1.8915, 0.3601)
Luminance0.0189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B02 #18022B
analogous
#2A2B02 #152B02 #022B04
triadic
#152B02 #02152B #2B0215
tetradic
#152B02 #022A2B #18022B #2B0402
square
#152B02 #022A2B #18022B #2B0402
split-complementary
#152B02 #04022B #2B022A
monochromatic
#0E1D01 #0E1D01 #152B02 #326505 #4EA007

Accessibility & contrast

On white

15.24
#152B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152B02
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B02#FFFFFF#000000##FFFFFF
##152B021.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #152b02;
/* rgb */ color: rgb(21, 43, 2);
/* oklch */ color: oklch(26.1% 0.071 133.6);
Tailwind
colors: {
  custom: {
    50: '#546447',
    500: '#152b02',
    950: '#000000',
  },
}
SCSS
$custom: #152b02;
$custom-light: #546447;
$custom-dark: #000000;
JSON
{
  "hex": "#152b02",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 2
  },
  "hsl": {
    "h": 92.195,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.26067,
    "c": 0.07085,
    "h": 133.6
  },
  "luminance": 0.01892
}

Semantic roles & 50–950 ramp

primary
#152B02
secondary
#481970
accent
#29FF9C
background
#F4F6F4
surface
#E8EBE6
border
#C4C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #152B02

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

Preview Lab → · Contrast checker → · Palette generator →

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