#20450B#20450B

#20450B is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.0% C 0.095 H 136.8°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#20450B
RGBrgb(32, 69, 11)
HSLhsl(98, 73%, 16%)
HSVhsv(98, 84%, 27%)
CMYKcmyk(53.6%, 0%, 84.1%, 72.9%)
CIE-LABlab(25.53, -24.86, 28.95)
CIE-LCHlch(25.53, 38.16, 130.65°)
OKLaboklab(34.97% -0.069 0.0649)
OKLCHoklch(34.97% 0.095 136.8)
XYZxyz(2.7841, 4.5873, 1.0553)
Luminance0.0459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20450B #300B45
analogous
#3D450B #20450B #0B4513
triadic
#20450B #0B2045 #450B20
tetradic
#20450B #0B3D45 #300B45 #45130B
square
#20450B #0B3D45 #300B45 #45130B
split-complementary
#20450B #130B45 #450B3D
monochromatic
#0C1A04 #0C1A04 #20450B #387A13 #51AF1C

Accessibility & contrast

On white

10.95
#20450B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#20450B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20450B
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20450B#FFFFFF#000000##FFFFFF
##20450B1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483E02
Deuteranopia (green-blind)
#433B11
Tritanopia (blue-blind)
#1E423A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #20450b;
/* rgb */ color: rgb(32, 69, 11);
/* oklch */ color: oklch(35.0% 0.095 136.8);
Tailwind
colors: {
  custom: {
    50: '#60794f',
    500: '#20450b',
    950: '#000000',
  },
}
SCSS
$custom: #20450b;
$custom-light: #60794f;
$custom-dark: #000000;
JSON
{
  "hex": "#20450b",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 11
  },
  "hsl": {
    "h": 98.276,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.3497,
    "c": 0.09474,
    "h": 136.8
  },
  "luminance": 0.04587
}

Semantic roles & 50–950 ramp

primary
#20450B
secondary
#622A81
accent
#39EFAD
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #20450B

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

Preview Lab → · Contrast checker → · Palette generator →

#20450B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva