#489818#489818

#489818 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#489818
RGBrgb(72, 152, 24)
HSLhsl(98, 73%, 35%)
HSVhsv(98, 84%, 60%)
CMYKcmyk(52.6%, 0%, 84.2%, 40.4%)
CIE-LABlab(55.99, -45.82, 53.78)
CIE-LCHlch(55.99, 70.65, 130.43°)
OKLaboklab(60.54% -0.1273 0.1183)
OKLCHoklch(60.54% 0.174 137.1)
XYZxyz(14.0652, 23.8991, 4.7358)
Luminance0.2390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#489818 #681898
analogous
#889818 #489818 #189828
triadic
#489818 #184898 #981848
tetradic
#489818 #188898 #681898 #982818
square
#489818 #188898 #681898 #982818
split-complementary
#489818 #281898 #981888
monochromatic
#162E07 #2F6310 #489818 #61CD20 #82E248

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##489818#FFFFFF#000000##000000
##4898181.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: #489818;
/* rgb */ color: rgb(72, 152, 24);
/* oklch */ color: oklch(60.5% 0.174 137.1);
Tailwind
colors: {
  custom: {
    50: '#84b762',
    500: '#489818',
    950: '#000000',
  },
}
SCSS
$custom: #489818;
$custom-light: #84b762;
$custom-dark: #000000;
JSON
{
  "hex": "#489818",
  "rgb": {
    "r": 72,
    "g": 152,
    "b": 24
  },
  "hsl": {
    "h": 97.5,
    "s": 72.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60542,
    "c": 0.17381,
    "h": 137.1
  },
  "luminance": 0.239
}

Semantic roles & 50–950 ramp

primary
#489818
secondary
#9548C4
accent
#38EFAB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #489818

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

Preview Lab → · Contrast checker → · Palette generator →

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