#20450C#20450C

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

Color values

HEX#20450C
RGBrgb(32, 69, 12)
HSLhsl(99, 70%, 16%)
HSVhsv(99, 83%, 27%)
CMYKcmyk(53.6%, 0%, 82.6%, 72.9%)
CIE-LABlab(25.53, -24.78, 28.55)
CIE-LCHlch(25.53, 37.80, 130.96°)
OKLaboklab(34.98% -0.0688 0.0642)
OKLCHoklch(34.98% 0.094 137)
XYZxyz(2.7901, 4.5897, 1.0866)
Luminance0.0459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20450C #310C45
analogous
#3C450C #20450C #0C4514
triadic
#20450C #0C2045 #450C20
tetradic
#20450C #0C3C45 #310C45 #45140C
square
#20450C #0C3C45 #310C45 #45140C
split-complementary
#20450C #140C45 #450C3C
monochromatic
#0C1A05 #0C1A05 #20450C #387915 #50AD1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20450C#FFFFFF#000000##FFFFFF
##20450C1.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)
#483E03
Deuteranopia (green-blind)
#433B12
Tritanopia (blue-blind)
#1E423A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #20450c;
/* rgb */ color: rgb(32, 69, 12);
/* oklch */ color: oklch(35.0% 0.094 137.0);
Tailwind
colors: {
  custom: {
    50: '#60794f',
    500: '#20450c',
    950: '#000000',
  },
}
SCSS
$custom: #20450c;
$custom-light: #60794f;
$custom-dark: #000000;
JSON
{
  "hex": "#20450c",
  "rgb": {
    "r": 32,
    "g": 69,
    "b": 12
  },
  "hsl": {
    "h": 98.947,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34978,
    "c": 0.09406,
    "h": 137
  },
  "luminance": 0.0459
}

Semantic roles & 50–950 ramp

primary
#20450C
secondary
#632C81
accent
#3BEDAF
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #20450C

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

Preview Lab → · Contrast checker → · Palette generator →

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