#4A8617#4A8617

#4A8617 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 55.8% C 0.151 H 134.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4A8617
RGBrgb(74, 134, 23)
HSLhsl(92, 71%, 31%)
HSVhsv(92, 83%, 53%)
CMYKcmyk(44.8%, 0%, 82.8%, 47.5%)
CIE-LABlab(50.18, -37.92, 48.81)
CIE-LCHlch(50.18, 61.81, 127.84°)
OKLaboklab(55.79% -0.1064 0.1076)
OKLCHoklch(55.79% 0.151 134.7)
XYZxyz(11.5036, 18.5672, 3.7881)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8617 #531786
analogous
#818617 #4A8617 #17861B
triadic
#4A8617 #174A86 #86174A
tetradic
#4A8617 #178186 #531786 #861B17
square
#4A8617 #178186 #531786 #861B17
split-complementary
#4A8617 #1B1786 #861781
monochromatic
#101E05 #2D520E #4A8617 #67BA20 #85DD3A

Accessibility & contrast

On white

4.46
#4A8617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#4A8617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8617
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8617#FFFFFF#000000##000000
##4A86171.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#837624
Tritanopia (blue-blind)
#498172
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4a8617;
/* rgb */ color: rgb(74, 134, 23);
/* oklch */ color: oklch(55.8% 0.151 134.7);
Tailwind
colors: {
  custom: {
    50: '#83aa5f',
    500: '#4a8617',
    950: '#000000',
  },
}
SCSS
$custom: #4a8617;
$custom-light: #83aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8617",
  "rgb": {
    "r": 74,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 92.432,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55786,
    "c": 0.15132,
    "h": 134.7
  },
  "luminance": 0.18568
}

Semantic roles & 50–950 ramp

primary
#4A8617
secondary
#813FBA
accent
#3AED9B
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4A8617

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

Preview Lab → · Contrast checker → · Palette generator →

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