#289D23#289D23

#289D23 is a mid, vivid green. Relative luminance 0.247; OKLCH L 60.9% C 0.187 H 142.4°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#289D23
RGBrgb(40, 157, 35)
HSLhsl(118, 64%, 38%)
HSVhsv(118, 78%, 62%)
CMYKcmyk(74.5%, 0%, 77.7%, 38.4%)
CIE-LABlab(56.77, -54.50, 50.83)
CIE-LCHlch(56.77, 74.52, 136.99°)
OKLaboklab(60.95% -0.1482 0.1141)
OKLCHoklch(60.95% 0.187 142.4)
XYZxyz(13.2346, 24.6849, 5.6570)
Luminance0.2469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289D23 #98239D
analogous
#659D23 #289D23 #239D5B
triadic
#289D23 #23289D #9D2328
tetradic
#289D23 #23659D #98239D #9D5B23
square
#289D23 #23659D #98239D #9D5B23
split-complementary
#289D23 #5B239D #9D2365
monochromatic
#0E390D #1B6B18 #289D23 #35CF2E #64DB5F

Accessibility & contrast

On white

3.54
#289D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#289D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289D23
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289D23#FFFFFF#000000##000000
##289D231.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E05
Deuteranopia (green-blind)
#948531
Tritanopia (blue-blind)
#009886
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #289d23;
/* rgb */ color: rgb(40, 157, 35);
/* oklch */ color: oklch(60.9% 0.187 142.4);
Tailwind
colors: {
  custom: {
    50: '#76bb67',
    500: '#289d23',
    950: '#000000',
  },
}
SCSS
$custom: #289d23;
$custom-light: #76bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#289d23",
  "rgb": {
    "r": 40,
    "g": 157,
    "b": 35
  },
  "hsl": {
    "h": 117.541,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.60945,
    "c": 0.18699,
    "h": 142.4
  },
  "luminance": 0.24686
}

Semantic roles & 50–950 ramp

primary
#289D23
secondary
#BC5CC0
accent
#41E7E0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #289D23

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

Preview Lab → · Contrast checker → · Palette generator →

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