#289D22#289D22

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

Color values

HEX#289D22
RGBrgb(40, 157, 34)
HSLhsl(117, 64%, 37%)
HSVhsv(117, 78%, 62%)
CMYKcmyk(74.5%, 0%, 78.3%, 38.4%)
CIE-LABlab(56.76, -54.57, 51.16)
CIE-LCHlch(56.76, 74.80, 136.84°)
OKLaboklab(60.94% -0.1484 0.1146)
OKLCHoklch(60.94% 0.188 142.3)
XYZxyz(13.2200, 24.6791, 5.5799)
Luminance0.2468 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289D22 #97229D
analogous
#669D22 #289D22 #229D59
triadic
#289D22 #22289D #9D2228
tetradic
#289D22 #22669D #97229D #9D5922
square
#289D22 #22669D #97229D #9D5922
split-complementary
#289D22 #59229D #9D2266
monochromatic
#0E380C #1B6B17 #289D22 #35CF2D #64DC5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##289D22#FFFFFF#000000##000000
##289D221.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)
#A18E02
Deuteranopia (green-blind)
#948530
Tritanopia (blue-blind)
#009886
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #289d22;
/* rgb */ color: rgb(40, 157, 34);
/* oklch */ color: oklch(60.9% 0.188 142.3);
Tailwind
colors: {
  custom: {
    50: '#76bb67',
    500: '#289d22',
    950: '#000000',
  },
}
SCSS
$custom: #289d22;
$custom-light: #76bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#289d22",
  "rgb": {
    "r": 40,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 117.073,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60938,
    "c": 0.18751,
    "h": 142.3
  },
  "luminance": 0.24681
}

Semantic roles & 50–950 ramp

primary
#289D22
secondary
#BC5AC1
accent
#40E7DF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #289D22

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

Preview Lab → · Contrast checker → · Palette generator →

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