#289A1F#289A1F

#289A1F is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.1% C 0.186 H 142.1°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#289A1F
RGBrgb(40, 154, 31)
HSLhsl(116, 66%, 36%)
HSVhsv(116, 80%, 60%)
CMYKcmyk(74%, 0%, 79.9%, 39.6%)
CIE-LABlab(55.75, -53.78, 51.16)
CIE-LCHlch(55.75, 74.23, 136.43°)
OKLaboklab(60.09% -0.1464 0.1142)
OKLCHoklch(60.09% 0.186 142.1)
XYZxyz(12.6773, 23.6598, 5.1947)
Luminance0.2366 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289A1F #911F9A
analogous
#669A1F #289A1F #1F9A54
triadic
#289A1F #1F289A #9A1F28
tetradic
#289A1F #1F669A #911F9A #9A541F
square
#289A1F #1F669A #911F9A #9A541F
split-complementary
#289A1F #541F9A #9A1F66
monochromatic
#0E340A #1B6715 #289A1F #35CD29 #60DD56

Accessibility & contrast

On white

3.66
#289A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#289A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289A1F
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289A1F#FFFFFF#000000##000000
##289A1F1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#91822E
Tritanopia (blue-blind)
#009583
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #289a1f;
/* rgb */ color: rgb(40, 154, 31);
/* oklch */ color: oklch(60.1% 0.186 142.1);
Tailwind
colors: {
  custom: {
    50: '#75b965',
    500: '#289a1f',
    950: '#000000',
  },
}
SCSS
$custom: #289a1f;
$custom-light: #75b965;
$custom-dark: #000000;
JSON
{
  "hex": "#289a1f",
  "rgb": {
    "r": 40,
    "g": 154,
    "b": 31
  },
  "hsl": {
    "h": 115.61,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60089,
    "c": 0.18568,
    "h": 142.1
  },
  "luminance": 0.23661
}

Semantic roles & 50–950 ramp

primary
#289A1F
secondary
#B954C1
accent
#3EE9DD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #289A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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