#489817#489817

#489817 is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 60.5% C 0.174 H 137.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#489817
RGBrgb(72, 152, 23)
HSLhsl(97, 74%, 34%)
HSVhsv(97, 85%, 60%)
CMYKcmyk(52.6%, 0%, 84.9%, 40.4%)
CIE-LABlab(55.98, -45.87, 54.04)
CIE-LCHlch(55.98, 70.88, 130.32°)
OKLaboklab(60.54% -0.1275 0.1187)
OKLCHoklch(60.54% 0.174 137.1)
XYZxyz(14.0549, 23.8950, 4.6820)
Luminance0.2390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#489817 #671798
analogous
#899817 #489817 #179826
triadic
#489817 #174898 #981748
tetradic
#489817 #178998 #671798 #982617
square
#489817 #178998 #671798 #982617
split-complementary
#489817 #261798 #981789
monochromatic
#162E07 #2F630F #489817 #61CD1F #82E346

Accessibility & contrast

On white

3.63
#489817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#489817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #489817
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##489817#FFFFFF#000000##000000
##4898171.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#938428
Tritanopia (blue-blind)
#439281
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #489817;
/* rgb */ color: rgb(72, 152, 23);
/* oklch */ color: oklch(60.5% 0.174 137.1);
Tailwind
colors: {
  custom: {
    50: '#84b762',
    500: '#489817',
    950: '#000000',
  },
}
SCSS
$custom: #489817;
$custom-light: #84b762;
$custom-dark: #000000;
JSON
{
  "hex": "#489817",
  "rgb": {
    "r": 72,
    "g": 152,
    "b": 23
  },
  "hsl": {
    "h": 97.209,
    "s": 73.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60537,
    "c": 0.17421,
    "h": 137.1
  },
  "luminance": 0.23896
}

Semantic roles & 50–950 ramp

primary
#489817
secondary
#9447C4
accent
#37F0AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #489817

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

Preview Lab → · Contrast checker → · Palette generator →

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