#20974F#20974F

#20974F is a mid, vivid green. Relative luminance 0.230; OKLCH L 59.6% C 0.148 H 151.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#20974F
RGBrgb(32, 151, 79)
HSLhsl(144, 65%, 36%)
HSVhsv(144, 79%, 59%)
CMYKcmyk(78.8%, 0%, 47.7%, 40.8%)
CIE-LABlab(55.08, -48.27, 28.98)
CIE-LCHlch(55.08, 56.30, 149.02°)
OKLaboklab(59.65% -0.1297 0.071)
OKLCHoklch(59.65% 0.148 151.3)
XYZxyz(13.0724, 23.0032, 11.1467)
Luminance0.2301 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20974F #972068
analogous
#2D9720 #20974F #20978A
triadic
#20974F #4F2097 #974F20
tetradic
#20974F #202D97 #972068 #978A20
square
#20974F #202D97 #972068 #978A20
split-complementary
#20974F #8A2097 #97202D
monochromatic
#0B321A #156435 #20974F #2BC969 #56DB8B

Accessibility & contrast

On white

3.75
#20974F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#20974F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20974F
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20974F#FFFFFF#000000##000000
##20974F1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A49
Deuteranopia (green-blind)
#8A8054
Tritanopia (blue-blind)
#009586
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #20974f;
/* rgb */ color: rgb(32, 151, 79);
/* oklch */ color: oklch(59.6% 0.148 151.3);
Tailwind
colors: {
  custom: {
    50: '#70b781',
    500: '#20974f',
    950: '#000000',
  },
}
SCSS
$custom: #20974f;
$custom-light: #70b781;
$custom-dark: #000000;
JSON
{
  "hex": "#20974f",
  "rgb": {
    "r": 32,
    "g": 151,
    "b": 79
  },
  "hsl": {
    "h": 143.697,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59645,
    "c": 0.14783,
    "h": 151.3
  },
  "luminance": 0.23005
}

Semantic roles & 50–950 ramp

primary
#20974F
secondary
#BF5495
accent
#40A6E8
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #20974F

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

Preview Lab → · Contrast checker → · Palette generator →

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