#202A12#202A12

#202A12 is a dark, muted yellow-green. Relative luminance 0.020; OKLCH L 26.8% C 0.043 H 127.6°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#202A12
RGBrgb(32, 42, 18)
HSLhsl(85, 40%, 12%)
HSVhsv(85, 57%, 16%)
CMYKcmyk(23.8%, 0%, 57.1%, 83.5%)
CIE-LABlab(15.52, -9.55, 14.19)
CIE-LCHlch(15.52, 17.11, 123.93°)
OKLaboklab(26.84% -0.0265 0.0344)
OKLCHoklch(26.84% 0.043 127.6)
XYZxyz(1.5328, 2.0067, 0.8787)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A12 #1C122A
analogous
#2A2812 #202A12 #142A12
triadic
#202A12 #12202A #2A1220
tetradic
#202A12 #122A28 #1C122A #2A1214
square
#202A12 #122A28 #1C122A #2A1214
split-complementary
#202A12 #12142A #28122A
monochromatic
#101509 #101509 #202A12 #415524 #618037

Accessibility & contrast

On white

14.99
#202A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#202A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A12
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A12#FFFFFF#000000##FFFFFF
##202A121.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2710
Deuteranopia (green-blind)
#2B2713
Tritanopia (blue-blind)
#212824
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #202a12;
/* rgb */ color: rgb(32, 42, 18);
/* oklch */ color: oklch(26.8% 0.043 127.6);
Tailwind
colors: {
  custom: {
    50: '#5c6350',
    500: '#202a12',
    950: '#000000',
  },
}
SCSS
$custom: #202a12;
$custom-light: #5c6350;
$custom-dark: #000000;
JSON
{
  "hex": "#202a12",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 18
  },
  "hsl": {
    "h": 85,
    "s": 40,
    "l": 11.765
  },
  "oklch": {
    "l": 0.26843,
    "c": 0.04337,
    "h": 127.6
  },
  "luminance": 0.02007
}

Semantic roles & 50–950 ramp

primary
#202A12
secondary
#483761
accent
#58D08A
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040502
muted
#797978

Preview Lab

Preview with #202A12

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

Preview Lab → · Contrast checker → · Palette generator →

#202A12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva