#289A42#289A42

#289A42 is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.4% C 0.161 H 147.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#289A42
RGBrgb(40, 154, 66)
HSLhsl(134, 59%, 38%)
HSVhsv(134, 74%, 60%)
CMYKcmyk(74%, 0%, 57.1%, 39.6%)
CIE-LABlab(56.04, -50.21, 36.86)
CIE-LCHlch(56.04, 62.29, 143.71°)
OKLaboklab(60.43% -0.1352 0.0878)
OKLCHoklch(60.43% 0.161 147)
XYZxyz(13.4130, 23.9541, 9.0699)
Luminance0.2396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289A42 #9A2880
analogous
#479A28 #289A42 #289A7B
triadic
#289A42 #42289A #9A4228
tetradic
#289A42 #28479A #9A2880 #9A7B28
square
#289A42 #28479A #9A2880 #9A7B28
split-complementary
#289A42 #7B289A #9A2847
monochromatic
#0F3918 #1B692D #289A42 #35CA57 #65D77F

Accessibility & contrast

On white

3.63
#289A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#289A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289A42
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289A42#FFFFFF#000000##000000
##289A421.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8C3A
Deuteranopia (green-blind)
#8F8349
Tritanopia (blue-blind)
#009686
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #289a42;
/* rgb */ color: rgb(40, 154, 66);
/* oklch */ color: oklch(60.4% 0.161 147.0);
Tailwind
colors: {
  custom: {
    50: '#74b979',
    500: '#289a42',
    950: '#000000',
  },
}
SCSS
$custom: #289a42;
$custom-light: #74b979;
$custom-dark: #000000;
JSON
{
  "hex": "#289a42",
  "rgb": {
    "r": 40,
    "g": 154,
    "b": 66
  },
  "hsl": {
    "h": 133.684,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.6043,
    "c": 0.16125,
    "h": 147
  },
  "luminance": 0.23956
}

Semantic roles & 50–950 ramp

primary
#289A42
secondary
#BD61A8
accent
#46BEE2
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #289A42

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

Preview Lab → · Contrast checker → · Palette generator →

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