#20480A#20480A

#20480A is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 35.9% C 0.100 H 137.1°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#20480A
RGBrgb(32, 72, 10)
HSLhsl(99, 76%, 16%)
HSVhsv(99, 86%, 28%)
CMYKcmyk(55.6%, 0%, 86.1%, 71.8%)
CIE-LABlab(26.63, -26.31, 30.41)
CIE-LCHlch(26.63, 40.21, 130.86°)
OKLaboklab(35.88% -0.073 0.0677)
OKLCHoklch(35.88% 0.1 137.1)
XYZxyz(2.9677, 4.9635, 1.0888)
Luminance0.0496 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20480A #320A48
analogous
#3F480A #20480A #0A4813
triadic
#20480A #0A2048 #480A20
tetradic
#20480A #0A3F48 #320A48 #48130A
square
#20480A #0A3F48 #320A48 #48130A
split-complementary
#20480A #130A48 #480A3F
monochromatic
#0C1B04 #0C1B04 #20480A #387E11 #50B319

Accessibility & contrast

On white

10.54
#20480A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20480A
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20480A#FFFFFF#000000##FFFFFF
##20480A1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#463E11
Tritanopia (blue-blind)
#1D453C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #20480a;
/* rgb */ color: rgb(32, 72, 10);
/* oklch */ color: oklch(35.9% 0.100 137.1);
Tailwind
colors: {
  custom: {
    50: '#617b4f',
    500: '#20480a',
    950: '#000000',
  },
}
SCSS
$custom: #20480a;
$custom-light: #617b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#20480a",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 10
  },
  "hsl": {
    "h": 98.71,
    "s": 75.61,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35877,
    "c": 0.0996,
    "h": 137.1
  },
  "luminance": 0.04964
}

Semantic roles & 50–950 ramp

primary
#20480A
secondary
#642985
accent
#36F2AF
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #20480A

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

Preview Lab → · Contrast checker → · Palette generator →

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