#289C22#289C22

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

Color values

HEX#289C22
RGBrgb(40, 156, 34)
HSLhsl(117, 64%, 37%)
HSVhsv(117, 78%, 61%)
CMYKcmyk(74.4%, 0%, 78.2%, 38.8%)
CIE-LABlab(56.43, -54.24, 50.84)
CIE-LCHlch(56.43, 74.34, 136.85°)
OKLaboklab(60.66% -0.1475 0.1139)
OKLCHoklch(60.66% 0.186 142.3)
XYZxyz(13.0515, 24.3421, 5.5237)
Luminance0.2434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289C22 #96229C
analogous
#659C22 #289C22 #229C59
triadic
#289C22 #22289C #9C2228
tetradic
#289C22 #22659C #96229C #9C5922
square
#289C22 #22659C #96229C #9C5922
split-complementary
#289C22 #59229C #9C2265
monochromatic
#0E380C #1B6A17 #289C22 #35CE2D #63DC5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##289C22#FFFFFF#000000##000000
##289C221.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)
#A08D02
Deuteranopia (green-blind)
#938430
Tritanopia (blue-blind)
#009785
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #289c22;
/* rgb */ color: rgb(40, 156, 34);
/* oklch */ color: oklch(60.7% 0.186 142.3);
Tailwind
colors: {
  custom: {
    50: '#76ba67',
    500: '#289c22',
    950: '#000000',
  },
}
SCSS
$custom: #289c22;
$custom-light: #76ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#289c22",
  "rgb": {
    "r": 40,
    "g": 156,
    "b": 34
  },
  "hsl": {
    "h": 117.049,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60662,
    "c": 0.18639,
    "h": 142.3
  },
  "luminance": 0.24344
}

Semantic roles & 50–950 ramp

primary
#289C22
secondary
#BB5AC0
accent
#41E7DF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #289C22

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

Preview Lab → · Contrast checker → · Palette generator →

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