#289238#289238

#289238 is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.1% C 0.160 H 145.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#289238
RGBrgb(40, 146, 56)
HSLhsl(129, 57%, 36%)
HSVhsv(129, 73%, 57%)
CMYKcmyk(72.6%, 0%, 61.6%, 42.7%)
CIE-LABlab(53.27, -48.67, 38.46)
CIE-LCHlch(53.27, 62.03, 141.68°)
OKLaboklab(58.1% -0.1314 0.0905)
OKLCHoklch(58.1% 0.16 145.4)
XYZxyz(11.8670, 21.2931, 7.2252)
Luminance0.2129 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289238 #922882
analogous
#4D9228 #289238 #28926D
triadic
#289238 #382892 #923828
tetradic
#289238 #284D92 #922882 #926D28
square
#289238 #284D92 #922882 #926D28
split-complementary
#289238 #6D2892 #92284D
monochromatic
#0E3213 #1B6226 #289238 #35C24A #61D472

Accessibility & contrast

On white

3.99
#289238 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#289238 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289238
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289238#FFFFFF#000000##000000
##2892381.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#94842E
Deuteranopia (green-blind)
#887C3F
Tritanopia (blue-blind)
#008E7F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #289238;
/* rgb */ color: rgb(40, 146, 56);
/* oklch */ color: oklch(58.1% 0.160 145.4);
Tailwind
colors: {
  custom: {
    50: '#72b372',
    500: '#289238',
    950: '#000000',
  },
}
SCSS
$custom: #289238;
$custom-light: #72b372;
$custom-dark: #000000;
JSON
{
  "hex": "#289238",
  "rgb": {
    "r": 40,
    "g": 146,
    "b": 56
  },
  "hsl": {
    "h": 129.057,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58097,
    "c": 0.15954,
    "h": 145.4
  },
  "luminance": 0.21294
}

Semantic roles & 50–950 ramp

primary
#289238
secondary
#B95DAB
accent
#48C9E0
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #289238

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

Preview Lab → · Contrast checker → · Palette generator →

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