#4A8418#4A8418

#4A8418 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.3% C 0.148 H 134.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4A8418
RGBrgb(74, 132, 24)
HSLhsl(92, 69%, 31%)
HSVhsv(92, 82%, 52%)
CMYKcmyk(43.9%, 0%, 81.8%, 48.2%)
CIE-LABlab(49.52, -37.01, 47.90)
CIE-LCHlch(49.52, 60.53, 127.69°)
OKLaboklab(55.25% -0.1039 0.1059)
OKLCHoklch(55.25% 0.148 134.5)
XYZxyz(11.2400, 18.0237, 3.7506)
Luminance0.1802 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8418 #521884
analogous
#808418 #4A8418 #18841C
triadic
#4A8418 #184A84 #84184A
tetradic
#4A8418 #188084 #521884 #841C18
square
#4A8418 #188084 #521884 #841C18
split-complementary
#4A8418 #1C1884 #841880
monochromatic
#101C05 #2D500F #4A8418 #67B821 #85DB3B

Accessibility & contrast

On white

4.56
#4A8418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#4A8418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8418
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8418#FFFFFF#000000##000000
##4A84181.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#827424
Tritanopia (blue-blind)
#497F70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4a8418;
/* rgb */ color: rgb(74, 132, 24);
/* oklch */ color: oklch(55.3% 0.148 134.5);
Tailwind
colors: {
  custom: {
    50: '#82a85f',
    500: '#4a8418',
    950: '#000000',
  },
}
SCSS
$custom: #4a8418;
$custom-light: #82a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8418",
  "rgb": {
    "r": 74,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 92.222,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55253,
    "c": 0.14832,
    "h": 134.5
  },
  "luminance": 0.18024
}

Semantic roles & 50–950 ramp

primary
#4A8418
secondary
#8040B8
accent
#3CEC9A
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A8418

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

Preview Lab → · Contrast checker → · Palette generator →

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