#4A8818#4A8818

#4A8818 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.3% C 0.153 H 135.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4A8818
RGBrgb(74, 136, 24)
HSLhsl(93, 70%, 31%)
HSVhsv(93, 82%, 53%)
CMYKcmyk(45.6%, 0%, 82.4%, 46.7%)
CIE-LABlab(50.84, -38.72, 49.12)
CIE-LCHlch(50.84, 62.54, 128.25°)
OKLaboklab(56.33% -0.1084 0.1084)
OKLCHoklch(56.33% 0.153 135)
XYZxyz(11.7928, 19.1294, 3.9349)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8818 #561888
analogous
#828818 #4A8818 #18881E
triadic
#4A8818 #184A88 #88184A
tetradic
#4A8818 #188288 #561888 #881E18
square
#4A8818 #188288 #561888 #881E18
split-complementary
#4A8818 #1E1888 #881882
monochromatic
#112006 #2E540F #4A8818 #66BC21 #85DD3E

Accessibility & contrast

On white

4.35
#4A8818 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#4A8818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8818
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8818#FFFFFF#000000##000000
##4A88181.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#488374
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4a8818;
/* rgb */ color: rgb(74, 136, 24);
/* oklch */ color: oklch(56.3% 0.153 135.0);
Tailwind
colors: {
  custom: {
    50: '#83ab60',
    500: '#4a8818',
    950: '#000000',
  },
}
SCSS
$custom: #4a8818;
$custom-light: #83ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8818",
  "rgb": {
    "r": 74,
    "g": 136,
    "b": 24
  },
  "hsl": {
    "h": 93.214,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5633,
    "c": 0.15336,
    "h": 135
  },
  "luminance": 0.1913
}

Semantic roles & 50–950 ramp

primary
#4A8818
secondary
#8540BC
accent
#3BED9D
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4A8818

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

Preview Lab → · Contrast checker → · Palette generator →

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