#4A9D17#4A9D17

#4A9D17 is a mid, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.0% C 0.179 H 137.1°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#4A9D17
RGBrgb(74, 157, 23)
HSLhsl(97, 74%, 35%)
HSVhsv(97, 85%, 62%)
CMYKcmyk(52.9%, 0%, 85.4%, 38.4%)
CIE-LABlab(57.68, -47.19, 55.59)
CIE-LCHlch(57.68, 72.92, 130.33°)
OKLaboklab(61.96% -0.1312 0.1219)
OKLCHoklch(61.96% 0.179 137.1)
XYZxyz(15.0352, 25.6305, 4.9653)
Luminance0.2563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A9D17 #6A179D
analogous
#8D9D17 #4A9D17 #179D27
triadic
#4A9D17 #174A9D #9D174A
tetradic
#4A9D17 #178D9D #6A179D #9D2717
square
#4A9D17 #178D9D #6A179D #9D2717
split-complementary
#4A9D17 #27179D #9D178D
monochromatic
#183207 #31680F #4A9D17 #63D21F #85E44A

Accessibility & contrast

On white

3.43
#4A9D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#4A9D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A9D17
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A9D17#FFFFFF#000000##000000
##4A9D171.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a9d17;
/* rgb */ color: rgb(74, 157, 23);
/* oklch */ color: oklch(62.0% 0.179 137.1);
Tailwind
colors: {
  custom: {
    50: '#86bb63',
    500: '#4a9d17',
    950: '#000000',
  },
}
SCSS
$custom: #4a9d17;
$custom-light: #86bb63;
$custom-dark: #000000;
JSON
{
  "hex": "#4a9d17",
  "rgb": {
    "r": 74,
    "g": 157,
    "b": 23
  },
  "hsl": {
    "h": 97.164,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61961,
    "c": 0.17911,
    "h": 137.1
  },
  "luminance": 0.25632
}

Semantic roles & 50–950 ramp

primary
#4A9D17
secondary
#974AC6
accent
#37F1AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4A9D17

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

Preview Lab → · Contrast checker → · Palette generator →

#4A9D17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva