#152102#152102

#152102 is a very dark, muted yellow-green. Relative luminance 0.013; OKLCH L 22.8% C 0.055 H 127.7°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#152102
RGBrgb(21, 33, 2)
HSLhsl(83, 89%, 7%)
HSVhsv(83, 94%, 13%)
CMYKcmyk(36.4%, 0%, 93.9%, 87.1%)
CIE-LABlab(10.93, -11.73, 15.22)
CIE-LCHlch(10.93, 19.22, 127.62°)
OKLaboklab(22.82% -0.0338 0.0438)
OKLCHoklch(22.82% 0.055 127.7)
XYZxyz(0.8641, 1.2515, 0.2535)
Luminance0.0125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152102 #0E0221
analogous
#211E02 #152102 #062102
triadic
#152102 #021521 #210215
tetradic
#152102 #02211E #0E0221 #210206
square
#152102 #02211E #0E0221 #210206
split-complementary
#152102 #020621 #1E0221
monochromatic
#121D02 #121D02 #152102 #3A5B05 #5E9409

Accessibility & contrast

On white

16.79
#152102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#152102 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152102
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152102#FFFFFF#000000##FFFFFF
##1521021.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E00
Deuteranopia (green-blind)
#221D04
Tritanopia (blue-blind)
#161F1B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #152102;
/* rgb */ color: rgb(21, 33, 2);
/* oklch */ color: oklch(22.8% 0.055 127.7);
Tailwind
colors: {
  custom: {
    50: '#525c47',
    500: '#152102',
    950: '#000000',
  },
}
SCSS
$custom: #152102;
$custom-light: #525c47;
$custom-dark: #000000;
JSON
{
  "hex": "#152102",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 2
  },
  "hsl": {
    "h": 83.226,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.22821,
    "c": 0.05533,
    "h": 127.7
  },
  "luminance": 0.01252
}

Semantic roles & 50–950 ramp

primary
#152102
secondary
#371867
accent
#29FF7C
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020400
muted
#787977

Preview Lab

Preview with #152102

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

Preview Lab → · Contrast checker → · Palette generator →

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