#489D18#489D18

#489D18 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#489D18
RGBrgb(72, 157, 24)
HSLhsl(98, 73%, 35%)
HSVhsv(98, 85%, 62%)
CMYKcmyk(54.1%, 0%, 84.7%, 38.4%)
CIE-LABlab(57.61, -47.74, 55.24)
CIE-LCHlch(57.61, 73.01, 130.83°)
OKLaboklab(61.88% -0.1325 0.1214)
OKLCHoklch(61.88% 0.18 137.5)
XYZxyz(14.8938, 25.5564, 5.0120)
Luminance0.2556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#489D18 #6D189D
analogous
#8A9D18 #489D18 #189D2A
triadic
#489D18 #18489D #9D1848
tetradic
#489D18 #188A9D #6D189D #9D2A18
square
#489D18 #188A9D #6D189D #9D2A18
split-complementary
#489D18 #2A189D #9D188A
monochromatic
#173308 #306810 #489D18 #60D220 #83E44C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##489D18#FFFFFF#000000##000000
##489D181.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: #489d18;
/* rgb */ color: rgb(72, 157, 24);
/* oklch */ color: oklch(61.9% 0.180 137.5);
Tailwind
colors: {
  custom: {
    50: '#85bb63',
    500: '#489d18',
    950: '#000000',
  },
}
SCSS
$custom: #489d18;
$custom-light: #85bb63;
$custom-dark: #000000;
JSON
{
  "hex": "#489d18",
  "rgb": {
    "r": 72,
    "g": 157,
    "b": 24
  },
  "hsl": {
    "h": 98.346,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61883,
    "c": 0.17967,
    "h": 137.5
  },
  "luminance": 0.25558
}

Semantic roles & 50–950 ramp

primary
#489D18
secondary
#994BC5
accent
#38F0AE
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #489D18

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

Preview Lab → · Contrast checker → · Palette generator →

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