#4A9017#4A9017

#4A9017 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.5% C 0.164 H 135.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4A9017
RGBrgb(74, 144, 23)
HSLhsl(95, 72%, 33%)
HSVhsv(95, 84%, 56%)
CMYKcmyk(48.6%, 0%, 84%, 43.5%)
CIE-LABlab(53.45, -42.07, 51.79)
CIE-LCHlch(53.45, 66.73, 129.09°)
OKLaboklab(58.48% -0.1175 0.1139)
OKLCHoklch(58.48% 0.164 135.9)
XYZxyz(12.9516, 21.4634, 4.2708)
Luminance0.2146 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A9017 #5D1790
analogous
#869017 #4A9017 #179021
triadic
#4A9017 #174A90 #90174A
tetradic
#4A9017 #178690 #5D1790 #902117
square
#4A9017 #178690 #5D1790 #902117
split-complementary
#4A9017 #211790 #901786
monochromatic
#142606 #2F5B0F #4A9017 #65C51F #84E141

Accessibility & contrast

On white

3.97
#4A9017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#4A9017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A9017
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A9017#FFFFFF#000000##000000
##4A90171.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8C7E26
Tritanopia (blue-blind)
#478A7A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4a9017;
/* rgb */ color: rgb(74, 144, 23);
/* oklch */ color: oklch(58.5% 0.164 135.9);
Tailwind
colors: {
  custom: {
    50: '#84b161',
    500: '#4a9017',
    950: '#000000',
  },
}
SCSS
$custom: #4a9017;
$custom-light: #84b161;
$custom-dark: #000000;
JSON
{
  "hex": "#4a9017",
  "rgb": {
    "r": 74,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 94.711,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58477,
    "c": 0.16366,
    "h": 135.9
  },
  "luminance": 0.21464
}

Semantic roles & 50–950 ramp

primary
#4A9017
secondary
#8B42C1
accent
#39EFA2
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1105
muted
#7D807A

Preview Lab

Preview with #4A9017

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

Preview Lab → · Contrast checker → · Palette generator →

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