#289B22#289B22

#289B22 is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.4% C 0.185 H 142.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#289B22
RGBrgb(40, 155, 34)
HSLhsl(117, 64%, 37%)
HSVhsv(117, 78%, 61%)
CMYKcmyk(74.2%, 0%, 78.1%, 39.2%)
CIE-LABlab(56.10, -53.91, 50.51)
CIE-LCHlch(56.10, 73.88, 136.86°)
OKLaboklab(60.39% -0.1466 0.1133)
OKLCHoklch(60.39% 0.185 142.3)
XYZxyz(12.8844, 24.0078, 5.4680)
Luminance0.2401 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289B22 #95229B
analogous
#659B22 #289B22 #229B59
triadic
#289B22 #22289B #9B2228
tetradic
#289B22 #22659B #95229B #9B5922
square
#289B22 #22659B #95229B #9B5922
split-complementary
#289B22 #59229B #9B2265
monochromatic
#0E370C #1B6917 #289B22 #35CD2D #62DB5C

Accessibility & contrast

On white

3.62
#289B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#289B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289B22
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289B22#FFFFFF#000000##000000
##289B221.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C03
Deuteranopia (green-blind)
#928330
Tritanopia (blue-blind)
#009684
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #289b22;
/* rgb */ color: rgb(40, 155, 34);
/* oklch */ color: oklch(60.4% 0.185 142.3);
Tailwind
colors: {
  custom: {
    50: '#75ba67',
    500: '#289b22',
    950: '#000000',
  },
}
SCSS
$custom: #289b22;
$custom-light: #75ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#289b22",
  "rgb": {
    "r": 40,
    "g": 155,
    "b": 34
  },
  "hsl": {
    "h": 117.025,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60385,
    "c": 0.18527,
    "h": 142.3
  },
  "luminance": 0.24009
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #289B22

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

Preview Lab → · Contrast checker → · Palette generator →

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