#153102#153102

#153102 is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.0% C 0.080 H 135.6°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#153102
RGBrgb(21, 49, 2)
HSLhsl(96, 92%, 10%)
HSVhsv(96, 96%, 19%)
CMYKcmyk(57.1%, 0%, 95.9%, 80.8%)
CIE-LABlab(17.27, -20.32, 23.51)
CIE-LCHlch(17.27, 31.08, 130.84°)
OKLaboklab(28.01% -0.0569 0.0557)
OKLCHoklch(28.01% 0.08 135.6)
XYZxyz(1.4185, 2.3603, 0.4383)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#153102 #1E0231
analogous
#2C3102 #153102 #023107
triadic
#153102 #021531 #310215
tetradic
#153102 #022C31 #1E0231 #310702
square
#153102 #022C31 #1E0231 #310702
split-complementary
#153102 #070231 #31022C
monochromatic
#0D1D01 #0D1D01 #153102 #2E6C04 #47A707

Accessibility & contrast

On white

14.27
#153102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#153102 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #153102
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##153102#FFFFFF#000000##FFFFFF
##1531021.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#302A06
Tritanopia (blue-blind)
#142F28
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #153102;
/* rgb */ color: rgb(21, 49, 2);
/* oklch */ color: oklch(28.0% 0.080 135.6);
Tailwind
colors: {
  custom: {
    50: '#556948',
    500: '#153102',
    950: '#000000',
  },
}
SCSS
$custom: #153102;
$custom-light: #556948;
$custom-dark: #000000;
JSON
{
  "hex": "#153102",
  "rgb": {
    "r": 21,
    "g": 49,
    "b": 2
  },
  "hsl": {
    "h": 95.745,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.28012,
    "c": 0.07962,
    "h": 135.6
  },
  "luminance": 0.0236
}

Semantic roles & 50–950 ramp

primary
#153102
secondary
#501975
accent
#29FFA8
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #153102

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

Preview Lab → · Contrast checker → · Palette generator →

#153102 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva