#489D17#489D17

#489D17 is a mid, vivid yellow-green. Relative luminance 0.256; OKLCH L 61.9% C 0.180 H 137.5°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#489D17
RGBrgb(72, 157, 23)
HSLhsl(98, 74%, 35%)
HSVhsv(98, 85%, 62%)
CMYKcmyk(54.1%, 0%, 85.4%, 38.4%)
CIE-LABlab(57.61, -47.78, 55.49)
CIE-LCHlch(57.61, 73.23, 130.73°)
OKLaboklab(61.88% -0.1326 0.1218)
OKLCHoklch(61.88% 0.18 137.5)
XYZxyz(14.8836, 25.5524, 4.9582)
Luminance0.2555 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#489D17 #6C179D
analogous
#8B9D17 #489D17 #179D29
triadic
#489D17 #17489D #9D1748
tetradic
#489D17 #178B9D #6C179D #9D2917
square
#489D17 #178B9D #6C179D #9D2917
split-complementary
#489D17 #29179D #9D178B
monochromatic
#173207 #30680F #489D17 #60D21F #82E44A

Accessibility & contrast

On white

3.44
#489D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#489D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #489D17
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##489D17#FFFFFF#000000##000000
##489D171.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#429785
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #489d17;
/* rgb */ color: rgb(72, 157, 23);
/* oklch */ color: oklch(61.9% 0.180 137.5);
Tailwind
colors: {
  custom: {
    50: '#85bb63',
    500: '#489d17',
    950: '#000000',
  },
}
SCSS
$custom: #489d17;
$custom-light: #85bb63;
$custom-dark: #000000;
JSON
{
  "hex": "#489d17",
  "rgb": {
    "r": 72,
    "g": 157,
    "b": 23
  },
  "hsl": {
    "h": 98.06,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61879,
    "c": 0.18005,
    "h": 137.5
  },
  "luminance": 0.25554
}

Semantic roles & 50–950 ramp

primary
#489D17
secondary
#994AC6
accent
#37F1AD
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #489D17

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

Preview Lab → · Contrast checker → · Palette generator →

#489D17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva