#153A02#153A02

#153A02 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 30.9% C 0.092 H 137.6°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#153A02
RGBrgb(21, 58, 2)
HSLhsl(100, 93%, 12%)
HSVhsv(100, 97%, 23%)
CMYKcmyk(63.8%, 0%, 96.6%, 77.3%)
CIE-LABlab(20.79, -24.48, 27.60)
CIE-LCHlch(20.79, 36.89, 131.58°)
OKLaboklab(30.91% -0.068 0.0621)
OKLCHoklch(30.91% 0.092 137.6)
XYZxyz(1.8332, 3.1898, 0.5765)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153A02 #27023A
analogous
#313A02 #153A02 #023A0B
triadic
#153A02 #02153A #3A0215
tetradic
#153A02 #02313A #27023A #3A0B02
square
#153A02 #02313A #27023A #3A0B02
split-complementary
#153A02 #0B023A #3A0231
monochromatic
#0B1E01 #0B1E01 #153A02 #2A7504 #40B006

Accessibility & contrast

On white

12.82
#153A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#153A02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153A02
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153A02#FFFFFF#000000##FFFFFF
##153A021.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#383108
Tritanopia (blue-blind)
#123830
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #153a02;
/* rgb */ color: rgb(21, 58, 2);
/* oklch */ color: oklch(30.9% 0.092 137.6);
Tailwind
colors: {
  custom: {
    50: '#587049',
    500: '#153a02',
    950: '#000000',
  },
}
SCSS
$custom: #153a02;
$custom-light: #587049;
$custom-dark: #000000;
JSON
{
  "hex": "#153a02",
  "rgb": {
    "r": 21,
    "g": 58,
    "b": 2
  },
  "hsl": {
    "h": 99.643,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.30908,
    "c": 0.09209,
    "h": 137.6
  },
  "luminance": 0.0319
}

Semantic roles & 50–950 ramp

primary
#153A02
secondary
#5C1A7D
accent
#29FFB6
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030701
muted
#787A77

Preview Lab

Preview with #153A02

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

Preview Lab → · Contrast checker → · Palette generator →

#153A02 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva