#4A8518#4A8518

#4A8518 is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 55.5% C 0.150 H 134.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4A8518
RGBrgb(74, 133, 24)
HSLhsl(92, 69%, 31%)
HSVhsv(92, 82%, 52%)
CMYKcmyk(44.4%, 0%, 82%, 47.8%)
CIE-LABlab(49.85, -37.44, 48.20)
CIE-LCHlch(49.85, 61.04, 127.84°)
OKLaboklab(55.52% -0.105 0.1065)
OKLCHoklch(55.52% 0.15 134.6)
XYZxyz(11.3762, 18.2962, 3.7961)
Luminance0.1830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8518 #531885
analogous
#808518 #4A8518 #18851C
triadic
#4A8518 #184A85 #85184A
tetradic
#4A8518 #188085 #531885 #851C18
square
#4A8518 #188085 #531885 #851C18
split-complementary
#4A8518 #1C1885 #851880
monochromatic
#101D05 #2D510F #4A8518 #67B921 #85DC3C

Accessibility & contrast

On white

4.51
#4A8518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#4A8518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8518
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8518#FFFFFF#000000##000000
##4A85181.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#827525
Tritanopia (blue-blind)
#498071
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4a8518;
/* rgb */ color: rgb(74, 133, 24);
/* oklch */ color: oklch(55.5% 0.150 134.6);
Tailwind
colors: {
  custom: {
    50: '#82a95f',
    500: '#4a8518',
    950: '#000000',
  },
}
SCSS
$custom: #4a8518;
$custom-light: #82a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8518",
  "rgb": {
    "r": 74,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 92.477,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55522,
    "c": 0.14959,
    "h": 134.6
  },
  "luminance": 0.18297
}

Semantic roles & 50–950 ramp

primary
#4A8518
secondary
#8140B9
accent
#3CEC9B
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4A8518

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

Preview Lab → · Contrast checker → · Palette generator →

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