#289E1F#289E1F

#289E1F is a mid, vivid green. Relative luminance 0.250; OKLCH L 61.2% C 0.190 H 142.1°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#289E1F
RGBrgb(40, 158, 31)
HSLhsl(116, 67%, 37%)
HSVhsv(116, 80%, 62%)
CMYKcmyk(74.7%, 0%, 80.4%, 38%)
CIE-LABlab(57.08, -55.09, 52.43)
CIE-LCHlch(57.08, 76.05, 136.42°)
OKLaboklab(61.2% -0.15 0.1168)
OKLCHoklch(61.2% 0.19 142.1)
XYZxyz(13.3485, 25.0023, 5.4185)
Luminance0.2500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289E1F #951F9E
analogous
#689E1F #289E1F #1F9E56
triadic
#289E1F #1F289E #9E1F28
tetradic
#289E1F #1F689E #951F9E #9E561F
square
#289E1F #1F689E #951F9E #9E561F
split-complementary
#289E1F #561F9E #9E1F68
monochromatic
#0E380B #1B6B15 #289E1F #35D129 #62DE59

Accessibility & contrast

On white

3.50
#289E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#289E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289E1F
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289E1F#FFFFFF#000000##000000
##289E1F1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#95862E
Tritanopia (blue-blind)
#009987
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #289e1f;
/* rgb */ color: rgb(40, 158, 31);
/* oklch */ color: oklch(61.2% 0.190 142.1);
Tailwind
colors: {
  custom: {
    50: '#76bc66',
    500: '#289e1f',
    950: '#000000',
  },
}
SCSS
$custom: #289e1f;
$custom-light: #76bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#289e1f",
  "rgb": {
    "r": 40,
    "g": 158,
    "b": 31
  },
  "hsl": {
    "h": 115.748,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61196,
    "c": 0.19011,
    "h": 142.1
  },
  "luminance": 0.25004
}

Semantic roles & 50–950 ramp

primary
#289E1F
secondary
#BB56C2
accent
#3EEADE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #289E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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