#289C23#289C23

#289C23 is a mid, vivid green. Relative luminance 0.243; OKLCH L 60.7% C 0.186 H 142.4°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#289C23
RGBrgb(40, 156, 35)
HSLhsl(118, 63%, 37%)
HSVhsv(118, 78%, 61%)
CMYKcmyk(74.4%, 0%, 77.6%, 38.8%)
CIE-LABlab(56.43, -54.17, 50.51)
CIE-LCHlch(56.43, 74.06, 137.00°)
OKLaboklab(60.67% -0.1473 0.1134)
OKLCHoklch(60.67% 0.186 142.4)
XYZxyz(13.0661, 24.3479, 5.6008)
Luminance0.2435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289C23 #97239C
analogous
#649C23 #289C23 #239C5B
triadic
#289C23 #23289C #9C2328
tetradic
#289C23 #23649C #97239C #9C5B23
square
#289C23 #23649C #97239C #9C5B23
split-complementary
#289C23 #5B239C #9C2364
monochromatic
#0E380D #1B6A18 #289C23 #35CE2E #64DB5E

Accessibility & contrast

On white

3.58
#289C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#289C23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289C23
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289C23#FFFFFF#000000##000000
##289C231.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D05
Deuteranopia (green-blind)
#938431
Tritanopia (blue-blind)
#009785
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #289c23;
/* rgb */ color: rgb(40, 156, 35);
/* oklch */ color: oklch(60.7% 0.186 142.4);
Tailwind
colors: {
  custom: {
    50: '#75ba67',
    500: '#289c23',
    950: '#000000',
  },
}
SCSS
$custom: #289c23;
$custom-light: #75ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#289c23",
  "rgb": {
    "r": 40,
    "g": 156,
    "b": 35
  },
  "hsl": {
    "h": 117.521,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60669,
    "c": 0.18587,
    "h": 142.4
  },
  "luminance": 0.24349
}

Semantic roles & 50–950 ramp

primary
#289C23
secondary
#BC5BC0
accent
#41E6E0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #289C23

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

Preview Lab → · Contrast checker → · Palette generator →

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