#20480C#20480C

#20480C is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.9% C 0.098 H 137.5°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#20480C
RGBrgb(32, 72, 12)
HSLhsl(100, 71%, 16%)
HSVhsv(100, 83%, 28%)
CMYKcmyk(55.6%, 0%, 83.3%, 71.8%)
CIE-LABlab(26.64, -26.16, 29.65)
CIE-LCHlch(26.64, 39.54, 131.42°)
OKLaboklab(35.89% -0.0725 0.0665)
OKLCHoklch(35.89% 0.098 137.5)
XYZxyz(2.9793, 4.9681, 1.1497)
Luminance0.0497 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20480C #340C48
analogous
#3E480C #20480C #0C4816
triadic
#20480C #0C2048 #480C20
tetradic
#20480C #0C3E48 #340C48 #48160C
square
#20480C #0C3E48 #340C48 #48160C
split-complementary
#20480C #160C48 #480C3E
monochromatic
#0C1A04 #0C1A04 #20480C #377C15 #4FB11D

Accessibility & contrast

On white

10.53
#20480C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#20480C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20480C
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20480C#FFFFFF#000000##FFFFFF
##20480C1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4102
Deuteranopia (green-blind)
#453E12
Tritanopia (blue-blind)
#1D453D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #20480c;
/* rgb */ color: rgb(32, 72, 12);
/* oklch */ color: oklch(35.9% 0.098 137.5);
Tailwind
colors: {
  custom: {
    50: '#607b50',
    500: '#20480c',
    950: '#000000',
  },
}
SCSS
$custom: #20480c;
$custom-light: #607b50;
$custom-dark: #000000;
JSON
{
  "hex": "#20480c",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 12
  },
  "hsl": {
    "h": 100,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35892,
    "c": 0.09834,
    "h": 137.5
  },
  "luminance": 0.04968
}

Semantic roles & 50–950 ramp

primary
#20480C
secondary
#672C84
accent
#3AEEB2
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #20480C

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

Preview Lab → · Contrast checker → · Palette generator →

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