#4A8F17#4A8F17

#4A8F17 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.2% C 0.162 H 135.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4A8F17
RGBrgb(74, 143, 23)
HSLhsl(95, 72%, 33%)
HSVhsv(95, 84%, 56%)
CMYKcmyk(48.3%, 0%, 83.9%, 43.9%)
CIE-LABlab(53.13, -41.66, 51.50)
CIE-LCHlch(53.13, 66.24, 128.98°)
OKLaboklab(58.21% -0.1164 0.1133)
OKLCHoklch(58.21% 0.162 135.8)
XYZxyz(12.8008, 21.1618, 4.2206)
Luminance0.2116 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8F17 #5C178F
analogous
#868F17 #4A8F17 #178F20
triadic
#4A8F17 #174A8F #8F174A
tetradic
#4A8F17 #17868F #5C178F #8F2017
square
#4A8F17 #17868F #5C178F #8F2017
split-complementary
#4A8F17 #20178F #8F1786
monochromatic
#132606 #2F5A0F #4A8F17 #65C41F #84E040

Accessibility & contrast

On white

4.01
#4A8F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4A8F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8F17
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8F17#FFFFFF#000000##000000
##4A8F171.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7D26
Tritanopia (blue-blind)
#478979
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a8f17;
/* rgb */ color: rgb(74, 143, 23);
/* oklch */ color: oklch(58.2% 0.162 135.8);
Tailwind
colors: {
  custom: {
    50: '#84b060',
    500: '#4a8f17',
    950: '#000000',
  },
}
SCSS
$custom: #4a8f17;
$custom-light: #84b060;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8f17",
  "rgb": {
    "r": 74,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 94.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58208,
    "c": 0.16244,
    "h": 135.8
  },
  "luminance": 0.21163
}

Semantic roles & 50–950 ramp

primary
#4A8F17
secondary
#8A41C1
accent
#39EFA2
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4A8F17

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

Preview Lab → · Contrast checker → · Palette generator →

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