#289231#289231

#289231 is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.0% C 0.165 H 144.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#289231
RGBrgb(40, 146, 49)
HSLhsl(125, 57%, 36%)
HSVhsv(125, 73%, 57%)
CMYKcmyk(72.6%, 0%, 66.4%, 42.7%)
CIE-LABlab(53.20, -49.50, 41.60)
CIE-LCHlch(53.20, 64.66, 139.95°)
OKLaboklab(58.02% -0.1339 0.0965)
OKLCHoklch(58.02% 0.165 144.2)
XYZxyz(11.7076, 21.2293, 6.3858)
Luminance0.2123 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289231 #922889
analogous
#549228 #289231 #289266
triadic
#289231 #312892 #923128
tetradic
#289231 #285492 #922889 #926628
square
#289231 #285492 #922889 #926628
split-complementary
#289231 #662892 #922854
monochromatic
#0E3211 #1B6221 #289231 #35C241 #61D46B

Accessibility & contrast

On white

4.00
#289231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#289231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289231
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289231#FFFFFF#000000##000000
##2892311.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958425
Deuteranopia (green-blind)
#897C3A
Tritanopia (blue-blind)
#008E7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #289231;
/* rgb */ color: rgb(40, 146, 49);
/* oklch */ color: oklch(58.0% 0.165 144.2);
Tailwind
colors: {
  custom: {
    50: '#72b36d',
    500: '#289231',
    950: '#000000',
  },
}
SCSS
$custom: #289231;
$custom-light: #72b36d;
$custom-dark: #000000;
JSON
{
  "hex": "#289231",
  "rgb": {
    "r": 40,
    "g": 146,
    "b": 49
  },
  "hsl": {
    "h": 125.094,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58018,
    "c": 0.16508,
    "h": 144.2
  },
  "luminance": 0.21231
}

Semantic roles & 50–950 ramp

primary
#289231
secondary
#B95DB1
accent
#48D3E0
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #289231

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

Preview Lab → · Contrast checker → · Palette generator →

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