#289A23#289A23

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

Color values

HEX#289A23
RGBrgb(40, 154, 35)
HSLhsl(117, 63%, 37%)
HSVhsv(117, 77%, 60%)
CMYKcmyk(74%, 0%, 77.3%, 39.6%)
CIE-LABlab(55.77, -53.50, 49.85)
CIE-LCHlch(55.77, 73.13, 137.02°)
OKLaboklab(60.11% -0.1455 0.112)
OKLCHoklch(60.11% 0.184 142.4)
XYZxyz(12.7333, 23.6822, 5.4898)
Luminance0.2368 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289A23 #95239A
analogous
#649A23 #289A23 #239A5A
triadic
#289A23 #23289A #9A2328
tetradic
#289A23 #23649A #95239A #9A5A23
square
#289A23 #23649A #95239A #9A5A23
split-complementary
#289A23 #5A239A #9A2364
monochromatic
#0E360C #1B6818 #289A23 #35CC2E #62DA5D

Accessibility & contrast

On white

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

On black

5.74
#289A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289A23
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289A23#FFFFFF#000000##000000
##289A231.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B07
Deuteranopia (green-blind)
#918230
Tritanopia (blue-blind)
#009583
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #289a23;
/* rgb */ color: rgb(40, 154, 35);
/* oklch */ color: oklch(60.1% 0.184 142.4);
Tailwind
colors: {
  custom: {
    50: '#75b967',
    500: '#289a23',
    950: '#000000',
  },
}
SCSS
$custom: #289a23;
$custom-light: #75b967;
$custom-dark: #000000;
JSON
{
  "hex": "#289a23",
  "rgb": {
    "r": 40,
    "g": 154,
    "b": 35
  },
  "hsl": {
    "h": 117.479,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60115,
    "c": 0.18361,
    "h": 142.4
  },
  "luminance": 0.23684
}

Semantic roles & 50–950 ramp

primary
#289A23
secondary
#BB5ABF
accent
#42E6DF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #289A23

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

Preview Lab → · Contrast checker → · Palette generator →

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