#289D20#289D20

#289D20 is a mid, vivid green. Relative luminance 0.247; OKLCH L 60.9% C 0.189 H 142.2°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#289D20
RGBrgb(40, 157, 32)
HSLhsl(116, 66%, 37%)
HSVhsv(116, 80%, 62%)
CMYKcmyk(74.5%, 0%, 79.6%, 38.4%)
CIE-LABlab(56.75, -54.70, 51.80)
CIE-LCHlch(56.75, 75.34, 136.56°)
OKLaboklab(60.93% -0.1489 0.1157)
OKLCHoklch(60.93% 0.189 142.2)
XYZxyz(13.1920, 24.6678, 5.4323)
Luminance0.2467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289D20 #95209D
analogous
#679D20 #289D20 #209D57
triadic
#289D20 #20289D #9D2028
tetradic
#289D20 #20679D #95209D #9D5720
square
#289D20 #20679D #95209D #9D5720
split-complementary
#289D20 #57209D #9D2067
monochromatic
#0E370B #1B6A16 #289D20 #35D02A #62DD5A

Accessibility & contrast

On white

3.54
#289D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#289D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289D20
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289D20#FFFFFF#000000##000000
##289D201.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#94852F
Tritanopia (blue-blind)
#009886
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #289d20;
/* rgb */ color: rgb(40, 157, 32);
/* oklch */ color: oklch(60.9% 0.189 142.2);
Tailwind
colors: {
  custom: {
    50: '#76bb66',
    500: '#289d20',
    950: '#000000',
  },
}
SCSS
$custom: #289d20;
$custom-light: #76bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#289d20",
  "rgb": {
    "r": 40,
    "g": 157,
    "b": 32
  },
  "hsl": {
    "h": 116.16,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60926,
    "c": 0.18852,
    "h": 142.2
  },
  "luminance": 0.24669
}

Semantic roles & 50–950 ramp

primary
#289D20
secondary
#BB57C1
accent
#3FE9DE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #289D20

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

Preview Lab → · Contrast checker → · Palette generator →

#289D20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva