#289F2A#289F2A

#289F2A is a mid, vivid green. Relative luminance 0.254; OKLCH L 61.5% C 0.185 H 143.1°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#289F2A
RGBrgb(40, 159, 42)
HSLhsl(121, 60%, 39%)
HSVhsv(121, 75%, 62%)
CMYKcmyk(74.8%, 0%, 73.6%, 37.6%)
CIE-LABlab(57.48, -54.61, 49.03)
CIE-LCHlch(57.48, 73.39, 138.08°)
OKLaboklab(61.55% -0.1481 0.1112)
OKLCHoklch(61.55% 0.185 143.1)
XYZxyz(13.6903, 25.4130, 6.3737)
Luminance0.2541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289F2A #9F289D
analogous
#629F28 #289F2A #289F66
triadic
#289F2A #2A289F #9F2A28
tetradic
#289F2A #28629F #9F289D #9F6628
square
#289F2A #28629F #9F289D #9F6628
split-complementary
#289F2A #66289F #9F2862
monochromatic
#0F3D10 #1C6E1D #289F2A #37CD3A #68D96A

Accessibility & contrast

On white

3.45
#289F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#289F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289F2A
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289F2A#FFFFFF#000000##000000
##289F2A1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29015
Deuteranopia (green-blind)
#958636
Tritanopia (blue-blind)
#009A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #289f2a;
/* rgb */ color: rgb(40, 159, 42);
/* oklch */ color: oklch(61.5% 0.185 143.1);
Tailwind
colors: {
  custom: {
    50: '#76bc6b',
    500: '#289f2a',
    950: '#000000',
  },
}
SCSS
$custom: #289f2a;
$custom-light: #76bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#289f2a",
  "rgb": {
    "r": 40,
    "g": 159,
    "b": 42
  },
  "hsl": {
    "h": 121.008,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61548,
    "c": 0.18526,
    "h": 143.1
  },
  "luminance": 0.25415
}

Semantic roles & 50–950 ramp

primary
#289F2A
secondary
#BF64BE
accent
#45E0E3
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #289F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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