#489717#489717

#489717 is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 60.3% C 0.173 H 137.0°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#489717
RGBrgb(72, 151, 23)
HSLhsl(97, 74%, 34%)
HSVhsv(97, 85%, 59%)
CMYKcmyk(52.3%, 0%, 84.8%, 40.8%)
CIE-LABlab(55.66, -45.48, 53.75)
CIE-LCHlch(55.66, 70.41, 130.24°)
OKLaboklab(60.27% -0.1265 0.1181)
OKLCHoklch(60.27% 0.173 137)
XYZxyz(13.8933, 23.5718, 4.6281)
Luminance0.2357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#489717 #661797
analogous
#889717 #489717 #179726
triadic
#489717 #174897 #971748
tetradic
#489717 #178897 #661797 #972617
square
#489717 #178897 #661797 #972617
split-complementary
#489717 #261797 #971788
monochromatic
#152D07 #2F620F #489717 #61CC1F #82E346

Accessibility & contrast

On white

3.67
#489717 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#489717 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #489717
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##489717#FFFFFF#000000##000000
##4897171.003.675.715.71
#FFFFFF3.671.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#439180
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #489717;
/* rgb */ color: rgb(72, 151, 23);
/* oklch */ color: oklch(60.3% 0.173 137.0);
Tailwind
colors: {
  custom: {
    50: '#84b662',
    500: '#489717',
    950: '#000000',
  },
}
SCSS
$custom: #489717;
$custom-light: #84b662;
$custom-dark: #000000;
JSON
{
  "hex": "#489717",
  "rgb": {
    "r": 72,
    "g": 151,
    "b": 23
  },
  "hsl": {
    "h": 97.031,
    "s": 73.563,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60268,
    "c": 0.17303,
    "h": 137
  },
  "luminance": 0.23573
}

Semantic roles & 50–950 ramp

primary
#489717
secondary
#9446C4
accent
#38F0AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #489717

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

Preview Lab → · Contrast checker → · Palette generator →

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