#289B1F#289B1F

#289B1F is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.4% C 0.187 H 142.1°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#289B1F
RGBrgb(40, 155, 31)
HSLhsl(116, 67%, 36%)
HSVhsv(116, 80%, 61%)
CMYKcmyk(74.2%, 0%, 80%, 39.2%)
CIE-LABlab(56.08, -54.11, 51.48)
CIE-LCHlch(56.08, 74.69, 136.43°)
OKLaboklab(60.37% -0.1473 0.1149)
OKLCHoklch(60.37% 0.187 142.1)
XYZxyz(12.8430, 23.9913, 5.2500)
Luminance0.2399 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289B1F #921F9B
analogous
#669B1F #289B1F #1F9B54
triadic
#289B1F #1F289B #9B1F28
tetradic
#289B1F #1F669B #921F9B #9B541F
square
#289B1F #1F669B #921F9B #9B541F
split-complementary
#289B1F #541F9B #9B1F66
monochromatic
#0E350B #1B6815 #289B1F #35CE29 #61DD57

Accessibility & contrast

On white

3.62
#289B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#289B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289B1F
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289B1F#FFFFFF#000000##000000
##289B1F1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#92832E
Tritanopia (blue-blind)
#009684
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #289b1f;
/* rgb */ color: rgb(40, 155, 31);
/* oklch */ color: oklch(60.4% 0.187 142.1);
Tailwind
colors: {
  custom: {
    50: '#75ba65',
    500: '#289b1f',
    950: '#000000',
  },
}
SCSS
$custom: #289b1f;
$custom-light: #75ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#289b1f",
  "rgb": {
    "r": 40,
    "g": 155,
    "b": 31
  },
  "hsl": {
    "h": 115.645,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60366,
    "c": 0.1868,
    "h": 142.1
  },
  "luminance": 0.23993
}

Semantic roles & 50–950 ramp

primary
#289B1F
secondary
#B955C1
accent
#3EEADD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #289B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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