#289A40#289A40

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

Color values

HEX#289A40
RGBrgb(40, 154, 64)
HSLhsl(133, 59%, 38%)
HSVhsv(133, 74%, 60%)
CMYKcmyk(74%, 0%, 58.4%, 39.6%)
CIE-LABlab(56.02, -50.49, 37.81)
CIE-LCHlch(56.02, 63.08, 143.17°)
OKLaboklab(60.4% -0.136 0.0898)
OKLCHoklch(60.4% 0.163 146.6)
XYZxyz(13.3551, 23.9310, 8.7648)
Luminance0.2393 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289A40 #9A2882
analogous
#499A28 #289A40 #289A79
triadic
#289A40 #40289A #9A4028
tetradic
#289A40 #28499A #9A2882 #9A7928
square
#289A40 #28499A #9A2882 #9A7928
split-complementary
#289A40 #79289A #9A2849
monochromatic
#0F3918 #1B692C #289A40 #35CA54 #65D77D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##289A40#FFFFFF#000000##000000
##289A401.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)
#9C8C37
Deuteranopia (green-blind)
#8F8347
Tritanopia (blue-blind)
#009686
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #289a40;
/* rgb */ color: rgb(40, 154, 64);
/* oklch */ color: oklch(60.4% 0.163 146.6);
Tailwind
colors: {
  custom: {
    50: '#74b977',
    500: '#289a40',
    950: '#000000',
  },
}
SCSS
$custom: #289a40;
$custom-light: #74b977;
$custom-dark: #000000;
JSON
{
  "hex": "#289a40",
  "rgb": {
    "r": 40,
    "g": 154,
    "b": 64
  },
  "hsl": {
    "h": 132.632,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60403,
    "c": 0.16298,
    "h": 146.6
  },
  "luminance": 0.23932
}

Semantic roles & 50–950 ramp

primary
#289A40
secondary
#BD61AA
accent
#46C1E2
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #289A40

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

Preview Lab → · Contrast checker → · Palette generator →

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