#489217#489217

#489217 is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 58.9% C 0.167 H 136.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#489217
RGBrgb(72, 146, 23)
HSLhsl(96, 73%, 33%)
HSVhsv(96, 84%, 57%)
CMYKcmyk(50.7%, 0%, 84.2%, 42.7%)
CIE-LABlab(54.02, -43.51, 52.28)
CIE-LCHlch(54.02, 68.02, 129.77°)
OKLaboklab(58.92% -0.1212 0.115)
OKLCHoklch(58.92% 0.167 136.5)
XYZxyz(13.1057, 21.9964, 4.3656)
Luminance0.2200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#489217 #611792
analogous
#859217 #489217 #179224
triadic
#489217 #174892 #921748
tetradic
#489217 #178592 #611792 #922417
square
#489217 #178592 #611792 #922417
split-complementary
#489217 #241792 #921785
monochromatic
#142806 #2E5D0F #489217 #62C71F #82E142

Accessibility & contrast

On white

3.89
#489217 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#489217 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #489217
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##489217#FFFFFF#000000##000000
##4892171.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#8E7F27
Tritanopia (blue-blind)
#448C7C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #489217;
/* rgb */ color: rgb(72, 146, 23);
/* oklch */ color: oklch(58.9% 0.167 136.5);
Tailwind
colors: {
  custom: {
    50: '#83b261',
    500: '#489217',
    950: '#000000',
  },
}
SCSS
$custom: #489217;
$custom-light: #83b261;
$custom-dark: #000000;
JSON
{
  "hex": "#489217",
  "rgb": {
    "r": 72,
    "g": 146,
    "b": 23
  },
  "hsl": {
    "h": 96.098,
    "s": 72.781,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58923,
    "c": 0.16708,
    "h": 136.5
  },
  "luminance": 0.21997
}

Semantic roles & 50–950 ramp

primary
#489217
secondary
#8F43C2
accent
#38EFA7
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0B1105
muted
#7C807A

Preview Lab

Preview with #489217

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

Preview Lab → · Contrast checker → · Palette generator →

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