#489B18#489B18

#489B18 is a mid, vivid yellow-green. Relative luminance 0.249; OKLCH L 61.3% C 0.177 H 137.4°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#489B18
RGBrgb(72, 155, 24)
HSLhsl(98, 73%, 35%)
HSVhsv(98, 85%, 61%)
CMYKcmyk(53.5%, 0%, 84.5%, 39.2%)
CIE-LABlab(56.96, -46.98, 54.66)
CIE-LCHlch(56.96, 72.07, 130.68°)
OKLaboklab(61.35% -0.1304 0.1201)
OKLCHoklch(61.35% 0.177 137.4)
XYZxyz(14.5582, 24.8852, 4.9002)
Luminance0.2489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#489B18 #6B189B
analogous
#8A9B18 #489B18 #189B29
triadic
#489B18 #18489B #9B1848
tetradic
#489B18 #188A9B #6B189B #9B2918
square
#489B18 #188A9B #6B189B #9B2918
split-complementary
#489B18 #29189B #9B188A
monochromatic
#173108 #2F6610 #489B18 #61D020 #82E34A

Accessibility & contrast

On white

3.51
#489B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#489B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #489B18
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##489B18#FFFFFF#000000##000000
##489B181.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#968629
Tritanopia (blue-blind)
#429584
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #489b18;
/* rgb */ color: rgb(72, 155, 24);
/* oklch */ color: oklch(61.3% 0.177 137.4);
Tailwind
colors: {
  custom: {
    50: '#84b963',
    500: '#489b18',
    950: '#000000',
  },
}
SCSS
$custom: #489b18;
$custom-light: #84b963;
$custom-dark: #000000;
JSON
{
  "hex": "#489b18",
  "rgb": {
    "r": 72,
    "g": 155,
    "b": 24
  },
  "hsl": {
    "h": 98.015,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61347,
    "c": 0.17734,
    "h": 137.4
  },
  "luminance": 0.24886
}

Semantic roles & 50–950 ramp

primary
#489B18
secondary
#984AC5
accent
#38F0AC
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #489B18

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

Preview Lab → · Contrast checker → · Palette generator →

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