#20482A#20482A

#20482A is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.3% C 0.069 H 149.9°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#20482A
RGBrgb(32, 72, 42)
HSLhsl(135, 38%, 20%)
HSVhsv(135, 56%, 28%)
CMYKcmyk(55.6%, 0%, 41.7%, 71.8%)
CIE-LABlab(27.04, -21.91, 13.80)
CIE-LCHlch(27.04, 25.89, 147.79°)
OKLaboklab(36.35% -0.0595 0.0344)
OKLCHoklch(36.35% 0.069 149.9)
XYZxyz(3.3307, 5.1087, 3.0006)
Luminance0.0511 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20482A #48203E
analogous
#2A4820 #20482A #20483E
triadic
#20482A #2A2048 #482A20
tetradic
#20482A #202A48 #48203E #483E20
square
#20482A #202A48 #48203E #483E20
split-complementary
#20482A #3E2048 #48202A
monochromatic
#09150C #0D1E11 #20482A #337243 #469D5B

Accessibility & contrast

On white

10.39
#20482A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#20482A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20482A
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20482A#FFFFFF#000000##FFFFFF
##20482A1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484228
Deuteranopia (green-blind)
#433E2C
Tritanopia (blue-blind)
#184740
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #20482a;
/* rgb */ color: rgb(32, 72, 42);
/* oklch */ color: oklch(36.3% 0.069 149.9);
Tailwind
colors: {
  custom: {
    50: '#5f7b63',
    500: '#20482a',
    950: '#000000',
  },
}
SCSS
$custom: #20482a;
$custom-light: #5f7b63;
$custom-dark: #000000;
JSON
{
  "hex": "#20482a",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 42
  },
  "hsl": {
    "h": 135,
    "s": 38.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.36348,
    "c": 0.06874,
    "h": 149.9
  },
  "luminance": 0.05109
}

Semantic roles & 50–950 ramp

primary
#20482A
secondary
#7C486F
accent
#59B1CE
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#050905
muted
#797B79

Preview Lab

Preview with #20482A

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

Preview Lab → · Contrast checker → · Palette generator →

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