#289B2F#289B2F

#289B2F is a mid, vivid green. Relative luminance 0.241; OKLCH L 60.5% C 0.177 H 143.7°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#289B2F
RGBrgb(40, 155, 47)
HSLhsl(124, 59%, 38%)
HSVhsv(124, 74%, 61%)
CMYKcmyk(74.2%, 0%, 69.7%, 39.2%)
CIE-LABlab(56.19, -52.81, 45.70)
CIE-LCHlch(56.19, 69.84, 139.13°)
OKLaboklab(60.49% -0.143 0.1049)
OKLCHoklch(60.49% 0.177 143.7)
XYZxyz(13.1087, 24.0976, 6.6492)
Luminance0.2410 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289B2F #9B2894
analogous
#5A9B28 #289B2F #289B68
triadic
#289B2F #2F289B #9B2F28
tetradic
#289B2F #285A9B #9B2894 #9B6828
square
#289B2F #285A9B #9B2894 #9B6828
split-complementary
#289B2F #68289B #9B285A
monochromatic
#0F3A11 #1B6A20 #289B2F #35CB3E #66D76D

Accessibility & contrast

On white

3.61
#289B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#289B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289B2F
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289B2F#FFFFFF#000000##000000
##289B2F1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C1F
Deuteranopia (green-blind)
#918339
Tritanopia (blue-blind)
#009785
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #289b2f;
/* rgb */ color: rgb(40, 155, 47);
/* oklch */ color: oklch(60.5% 0.177 143.7);
Tailwind
colors: {
  custom: {
    50: '#75ba6d',
    500: '#289b2f',
    950: '#000000',
  },
}
SCSS
$custom: #289b2f;
$custom-light: #75ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#289b2f",
  "rgb": {
    "r": 40,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 123.652,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60488,
    "c": 0.17737,
    "h": 143.7
  },
  "luminance": 0.24099
}

Semantic roles & 50–950 ramp

primary
#289B2F
secondary
#BD61B8
accent
#46D9E2
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #289B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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