#289A2F#289A2F

#289A2F is a mid, vivid green. Relative luminance 0.238; OKLCH L 60.2% C 0.176 H 143.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#289A2F
RGBrgb(40, 154, 47)
HSLhsl(124, 59%, 38%)
HSVhsv(124, 74%, 60%)
CMYKcmyk(74%, 0%, 69.5%, 39.6%)
CIE-LABlab(55.85, -52.47, 45.34)
CIE-LCHlch(55.85, 69.35, 139.17°)
OKLaboklab(60.21% -0.1421 0.1042)
OKLCHoklch(60.21% 0.176 143.8)
XYZxyz(12.9429, 23.7661, 6.5940)
Luminance0.2377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289A2F #9A2893
analogous
#5A9A28 #289A2F #289A68
triadic
#289A2F #2F289A #9A2F28
tetradic
#289A2F #285A9A #9A2893 #9A6828
square
#289A2F #285A9A #9A2893 #9A6828
split-complementary
#289A2F #68289A #9A285A
monochromatic
#0F3911 #1B6920 #289A2F #35CA3E #65D76C

Accessibility & contrast

On white

3.65
#289A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#289A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289A2F
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289A2F#FFFFFF#000000##000000
##289A2F1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B20
Deuteranopia (green-blind)
#908239
Tritanopia (blue-blind)
#009684
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #289a2f;
/* rgb */ color: rgb(40, 154, 47);
/* oklch */ color: oklch(60.2% 0.176 143.8);
Tailwind
colors: {
  custom: {
    50: '#74b96d',
    500: '#289a2f',
    950: '#000000',
  },
}
SCSS
$custom: #289a2f;
$custom-light: #74b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#289a2f",
  "rgb": {
    "r": 40,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 123.684,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60213,
    "c": 0.17619,
    "h": 143.8
  },
  "luminance": 0.23768
}

Semantic roles & 50–950 ramp

primary
#289A2F
secondary
#BD61B7
accent
#46D8E2
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #289A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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