#4A8E17#4A8E17

#4A8E17 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 57.9% C 0.161 H 135.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4A8E17
RGBrgb(74, 142, 23)
HSLhsl(94, 72%, 32%)
HSVhsv(94, 84%, 56%)
CMYKcmyk(47.9%, 0%, 83.8%, 44.3%)
CIE-LABlab(52.80, -41.26, 51.20)
CIE-LCHlch(52.80, 65.75, 128.86°)
OKLaboklab(57.94% -0.1153 0.1127)
OKLCHoklch(57.94% 0.161 135.7)
XYZxyz(12.6514, 20.8629, 4.1707)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8E17 #5B178E
analogous
#858E17 #4A8E17 #178E20
triadic
#4A8E17 #174A8E #8E174A
tetradic
#4A8E17 #17858E #5B178E #8E2017
square
#4A8E17 #17858E #5B178E #8E2017
split-complementary
#4A8E17 #20178E #8E1785
monochromatic
#132506 #2F590E #4A8E17 #65C320 #84E03F

Accessibility & contrast

On white

4.06
#4A8E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4A8E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8E17
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8E17#FFFFFF#000000##000000
##4A8E171.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#8A7C26
Tritanopia (blue-blind)
#478879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a8e17;
/* rgb */ color: rgb(74, 142, 23);
/* oklch */ color: oklch(57.9% 0.161 135.7);
Tailwind
colors: {
  custom: {
    50: '#84b060',
    500: '#4a8e17',
    950: '#000000',
  },
}
SCSS
$custom: #4a8e17;
$custom-light: #84b060;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8e17",
  "rgb": {
    "r": 74,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 94.286,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57939,
    "c": 0.16122,
    "h": 135.7
  },
  "luminance": 0.20864
}

Semantic roles & 50–950 ramp

primary
#4A8E17
secondary
#8A40C0
accent
#39EFA1
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4A8E17

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

Preview Lab → · Contrast checker → · Palette generator →

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