#289228#289228

#289228 is a mid, vivid green. Relative luminance 0.212; OKLCH L 57.9% C 0.171 H 143.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#289228
RGBrgb(40, 146, 40)
HSLhsl(120, 57%, 36%)
HSVhsv(120, 73%, 57%)
CMYKcmyk(72.6%, 0%, 72.6%, 42.7%)
CIE-LABlab(53.13, -50.39, 45.32)
CIE-LCHlch(53.13, 67.78, 138.03°)
OKLaboklab(57.93% -0.1368 0.1032)
OKLCHoklch(57.93% 0.171 143)
XYZxyz(11.5363, 21.1608, 5.4835)
Luminance0.2116 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289228 #922892
analogous
#5D9228 #289228 #28925D
triadic
#289228 #282892 #922828
tetradic
#289228 #285D92 #922892 #925D28
square
#289228 #285D92 #922892 #925D28
split-complementary
#289228 #5D2892 #92285D
monochromatic
#0E320E #1B621B #289228 #35C235 #61D461

Accessibility & contrast

On white

4.01
#289228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#289228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289228
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289228#FFFFFF#000000##000000
##2892281.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958417
Deuteranopia (green-blind)
#897C33
Tritanopia (blue-blind)
#038E7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #289228;
/* rgb */ color: rgb(40, 146, 40);
/* oklch */ color: oklch(57.9% 0.171 143.0);
Tailwind
colors: {
  custom: {
    50: '#73b368',
    500: '#289228',
    950: '#000000',
  },
}
SCSS
$custom: #289228;
$custom-light: #73b368;
$custom-dark: #000000;
JSON
{
  "hex": "#289228",
  "rgb": {
    "r": 40,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57932,
    "c": 0.17139,
    "h": 143
  },
  "luminance": 0.21162
}

Semantic roles & 50–950 ramp

primary
#289228
secondary
#B95DB9
accent
#48E0E0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #289228

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

Preview Lab → · Contrast checker → · Palette generator →

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