#20482F#20482F

#20482F is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.5% C 0.063 H 154.3°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#20482F
RGBrgb(32, 72, 47)
HSLhsl(143, 38%, 20%)
HSVhsv(143, 56%, 28%)
CMYKcmyk(55.6%, 0%, 34.7%, 71.8%)
CIE-LABlab(27.15, -20.82, 10.79)
CIE-LCHlch(27.15, 23.45, 152.60°)
OKLaboklab(36.47% -0.0568 0.0273)
OKLCHoklch(36.47% 0.063 154.3)
XYZxyz(3.4259, 5.1468, 3.5017)
Luminance0.0515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20482F #482039
analogous
#254820 #20482F #204843
triadic
#20482F #2F2048 #482F20
tetradic
#20482F #202548 #482039 #484320
square
#20482F #202548 #482039 #484320
split-complementary
#20482F #432048 #482025
monochromatic
#09150E #0D1E13 #20482F #33724B #469D66

Accessibility & contrast

On white

10.35
#20482F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#20482F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20482F
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20482F#FFFFFF#000000##FFFFFF
##20482F1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48432D
Deuteranopia (green-blind)
#423F31
Tritanopia (blue-blind)
#164741
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #20482f;
/* rgb */ color: rgb(32, 72, 47);
/* oklch */ color: oklch(36.5% 0.063 154.3);
Tailwind
colors: {
  custom: {
    50: '#5f7b67',
    500: '#20482f',
    950: '#000000',
  },
}
SCSS
$custom: #20482f;
$custom-light: #5f7b67;
$custom-dark: #000000;
JSON
{
  "hex": "#20482f",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 47
  },
  "hsl": {
    "h": 142.5,
    "s": 38.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3647,
    "c": 0.06302,
    "h": 154.3
  },
  "luminance": 0.05147
}

Semantic roles & 50–950 ramp

primary
#20482F
secondary
#7C4868
accent
#59A3CE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#050906
muted
#797B7A

Preview Lab

Preview with #20482F

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

Preview Lab → · Contrast checker → · Palette generator →

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