#289538#289538

#289538 is a mid, vivid green. Relative luminance 0.222; OKLCH L 58.9% C 0.163 H 145.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#289538
RGBrgb(40, 149, 56)
HSLhsl(129, 58%, 37%)
HSVhsv(129, 73%, 58%)
CMYKcmyk(73.2%, 0%, 62.4%, 41.6%)
CIE-LABlab(54.27, -49.74, 39.61)
CIE-LCHlch(54.27, 63.58, 141.47°)
OKLaboklab(58.93% -0.1343 0.093)
OKLCHoklch(58.93% 0.163 145.3)
XYZxyz(12.3355, 22.2302, 7.3814)
Luminance0.2223 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289538 #952885
analogous
#4F9528 #289538 #28956E
triadic
#289538 #382895 #953828
tetradic
#289538 #284F95 #952885 #956E28
square
#289538 #284F95 #952885 #956E28
split-complementary
#289538 #6E2895 #95284F
monochromatic
#0E3514 #1B6526 #289538 #35C54A #62D573

Accessibility & contrast

On white

3.86
#289538 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#289538 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289538
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289538#FFFFFF#000000##000000
##2895381.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#97872E
Deuteranopia (green-blind)
#8B7E40
Tritanopia (blue-blind)
#009181
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #289538;
/* rgb */ color: rgb(40, 149, 56);
/* oklch */ color: oklch(58.9% 0.163 145.3);
Tailwind
colors: {
  custom: {
    50: '#73b572',
    500: '#289538',
    950: '#000000',
  },
}
SCSS
$custom: #289538;
$custom-light: #73b572;
$custom-dark: #000000;
JSON
{
  "hex": "#289538",
  "rgb": {
    "r": 40,
    "g": 149,
    "b": 56
  },
  "hsl": {
    "h": 128.807,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58927,
    "c": 0.16333,
    "h": 145.3
  },
  "luminance": 0.22232
}

Semantic roles & 50–950 ramp

primary
#289538
secondary
#BB5EAD
accent
#47CAE1
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #289538

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

Preview Lab → · Contrast checker → · Palette generator →

#289538 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva