#20794A#20794A

#20794A is a mid, moderate green. Relative luminance 0.145; OKLCH L 51.2% C 0.111 H 155.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#20794A
RGBrgb(32, 121, 74)
HSLhsl(148, 58%, 30%)
HSVhsv(148, 74%, 47%)
CMYKcmyk(73.6%, 0%, 38.8%, 52.5%)
CIE-LABlab(44.91, -37.47, 18.49)
CIE-LCHlch(44.91, 41.78, 153.73°)
OKLaboklab(51.22% -0.1013 0.0463)
OKLCHoklch(51.22% 0.111 155.4)
XYZxyz(8.6683, 14.4753, 8.8144)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20794A #79204F
analogous
#227920 #20794A #207977
triadic
#20794A #4A2079 #794A20
tetradic
#20794A #202279 #79204F #797720
square
#20794A #202279 #79204F #797720
split-complementary
#20794A #772079 #792022
monochromatic
#06180F #13492C #20794A #2DA968 #45CE86

Accessibility & contrast

On white

5.39
#20794A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#20794A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20794A
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20794A#FFFFFF#000000##FFFFFF
##20794A1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786F47
Deuteranopia (green-blind)
#6D674D
Tritanopia (blue-blind)
#00786D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #20794a;
/* rgb */ color: rgb(32, 121, 74);
/* oklch */ color: oklch(51.2% 0.111 155.4);
Tailwind
colors: {
  custom: {
    50: '#69a07d',
    500: '#20794a',
    950: '#000000',
  },
}
SCSS
$custom: #20794a;
$custom-light: #69a07d;
$custom-dark: #000000;
JSON
{
  "hex": "#20794a",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 74
  },
  "hsl": {
    "h": 148.315,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.51221,
    "c": 0.11136,
    "h": 155.4
  },
  "luminance": 0.14476
}

Semantic roles & 50–950 ramp

primary
#20794A
secondary
#AC497D
accent
#4698E1
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #20794A

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

Preview Lab → · Contrast checker → · Palette generator →

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