#4A8917#4A8917

#4A8917 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.6% C 0.155 H 135.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4A8917
RGBrgb(74, 137, 23)
HSLhsl(93, 71%, 31%)
HSVhsv(93, 83%, 54%)
CMYKcmyk(46%, 0%, 83.2%, 46.3%)
CIE-LABlab(51.16, -39.19, 49.71)
CIE-LCHlch(51.16, 63.30, 128.25°)
OKLaboklab(56.59% -0.1098 0.1095)
OKLCHoklch(56.59% 0.155 135.1)
XYZxyz(11.9241, 19.4083, 3.9283)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8917 #561789
analogous
#838917 #4A8917 #17891D
triadic
#4A8917 #174A89 #89174A
tetradic
#4A8917 #178389 #561789 #891D17
square
#4A8917 #178389 #561789 #891D17
split-complementary
#4A8917 #1D1789 #891783
monochromatic
#112005 #2E550E #4A8917 #66BD20 #85DE3C

Accessibility & contrast

On white

4.30
#4A8917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#4A8917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8917
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8917#FFFFFF#000000##000000
##4A89171.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#488374
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4a8917;
/* rgb */ color: rgb(74, 137, 23);
/* oklch */ color: oklch(56.6% 0.155 135.1);
Tailwind
colors: {
  custom: {
    50: '#83ac5f',
    500: '#4a8917',
    950: '#000000',
  },
}
SCSS
$custom: #4a8917;
$custom-light: #83ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8917",
  "rgb": {
    "r": 74,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 93.158,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56594,
    "c": 0.15507,
    "h": 135.1
  },
  "luminance": 0.19409
}

Semantic roles & 50–950 ramp

primary
#4A8917
secondary
#853FBD
accent
#3AEE9D
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4A8917

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

Preview Lab → · Contrast checker → · Palette generator →

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