#4A8017#4A8017

#4A8017 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.2% C 0.144 H 133.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4A8017
RGBrgb(74, 128, 23)
HSLhsl(91, 70%, 30%)
HSVhsv(91, 82%, 50%)
CMYKcmyk(42.2%, 0%, 82%, 49.8%)
CIE-LABlab(48.20, -35.33, 46.99)
CIE-LCHlch(48.20, 58.79, 126.94°)
OKLaboklab(54.17% -0.0994 0.1038)
OKLCHoklch(54.17% 0.144 133.8)
XYZxyz(10.6977, 16.9555, 3.5195)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8017 #4D1780
analogous
#7F8017 #4A8017 #178019
triadic
#4A8017 #174A80 #80174A
tetradic
#4A8017 #177F80 #4D1780 #801917
square
#4A8017 #177F80 #4D1780 #801917
split-complementary
#4A8017 #191780 #80177F
monochromatic
#0F1A05 #2C4C0E #4A8017 #68B420 #86DB36

Accessibility & contrast

On white

4.78
#4A8017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#4A8017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A8017
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8017#FFFFFF#000000##FFFFFF
##4A80171.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7123
Tritanopia (blue-blind)
#4A7B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4a8017;
/* rgb */ color: rgb(74, 128, 23);
/* oklch */ color: oklch(54.2% 0.144 133.8);
Tailwind
colors: {
  custom: {
    50: '#82a55e',
    500: '#4a8017',
    950: '#000000',
  },
}
SCSS
$custom: #4a8017;
$custom-light: #82a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8017",
  "rgb": {
    "r": 74,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 90.857,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54168,
    "c": 0.14373,
    "h": 133.8
  },
  "luminance": 0.16956
}

Semantic roles & 50–950 ramp

primary
#4A8017
secondary
#7B3EB4
accent
#3BEC96
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A8017

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

Preview Lab → · Contrast checker → · Palette generator →

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