#289C2E#289C2E

#289C2E is a mid, vivid green. Relative luminance 0.244; OKLCH L 60.8% C 0.179 H 143.6°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#289C2E
RGBrgb(40, 156, 46)
HSLhsl(123, 59%, 38%)
HSVhsv(123, 74%, 61%)
CMYKcmyk(74.4%, 0%, 70.5%, 38.8%)
CIE-LABlab(56.51, -53.25, 46.45)
CIE-LCHlch(56.51, 70.66, 138.90°)
OKLaboklab(60.76% -0.1443 0.1064)
OKLCHoklch(60.76% 0.179 143.6)
XYZxyz(13.2558, 24.4238, 6.5999)
Luminance0.2442 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289C2E #9C2896
analogous
#5C9C28 #289C2E #289C68
triadic
#289C2E #2E289C #9C2E28
tetradic
#289C2E #285C9C #9C2896 #9C6828
square
#289C2E #285C9C #9C2896 #9C6828
split-complementary
#289C2E #68289C #9C285C
monochromatic
#0F3B11 #1C6B20 #289C2E #36CB3E #67D86C

Accessibility & contrast

On white

3.57
#289C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#289C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289C2E
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289C2E#FFFFFF#000000##000000
##289C2E1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D1E
Deuteranopia (green-blind)
#928439
Tritanopia (blue-blind)
#009886
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #289c2e;
/* rgb */ color: rgb(40, 156, 46);
/* oklch */ color: oklch(60.8% 0.179 143.6);
Tailwind
colors: {
  custom: {
    50: '#75ba6d',
    500: '#289c2e',
    950: '#000000',
  },
}
SCSS
$custom: #289c2e;
$custom-light: #75ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#289c2e",
  "rgb": {
    "r": 40,
    "g": 156,
    "b": 46
  },
  "hsl": {
    "h": 123.103,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60755,
    "c": 0.17923,
    "h": 143.6
  },
  "luminance": 0.24425
}

Semantic roles & 50–950 ramp

primary
#289C2E
secondary
#BE62B9
accent
#45DAE2
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #289C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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