#289F22#289F22

#289F22 is a mid, vivid green. Relative luminance 0.254; OKLCH L 61.5% C 0.190 H 142.3°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#289F22
RGBrgb(40, 159, 34)
HSLhsl(117, 65%, 38%)
HSVhsv(117, 79%, 62%)
CMYKcmyk(74.8%, 0%, 78.6%, 37.6%)
CIE-LABlab(57.43, -55.22, 51.81)
CIE-LCHlch(57.43, 75.72, 136.83°)
OKLaboklab(61.49% -0.1502 0.116)
OKLCHoklch(61.49% 0.19 142.3)
XYZxyz(13.5611, 25.3613, 5.6936)
Luminance0.2536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289F22 #99229F
analogous
#669F22 #289F22 #229F5A
triadic
#289F22 #22289F #9F2228
tetradic
#289F22 #22669F #99229F #9F5A22
square
#289F22 #22669F #99229F #9F5A22
split-complementary
#289F22 #5A229F #9F2266
monochromatic
#0F3A0C #1B6D17 #289F22 #35D12D #65DD5F

Accessibility & contrast

On white

3.46
#289F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#289F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289F22
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289F22#FFFFFF#000000##000000
##289F221.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#958631
Tritanopia (blue-blind)
#009A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #289f22;
/* rgb */ color: rgb(40, 159, 34);
/* oklch */ color: oklch(61.5% 0.190 142.3);
Tailwind
colors: {
  custom: {
    50: '#76bd67',
    500: '#289f22',
    950: '#000000',
  },
}
SCSS
$custom: #289f22;
$custom-light: #76bd67;
$custom-dark: #000000;
JSON
{
  "hex": "#289f22",
  "rgb": {
    "r": 40,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 117.12,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6149,
    "c": 0.18973,
    "h": 142.3
  },
  "luminance": 0.25363
}

Semantic roles & 50–950 ramp

primary
#289F22
secondary
#BD5BC1
accent
#40E8E0
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #289F22

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

Preview Lab → · Contrast checker → · Palette generator →

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