#4A7418#4A7418

#4A7418 is a mid, vivid yellow-green. Relative luminance 0.140; OKLCH L 50.9% C 0.128 H 131.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4A7418
RGBrgb(74, 116, 24)
HSLhsl(87, 66%, 27%)
HSVhsv(87, 79%, 45%)
CMYKcmyk(36.2%, 0%, 79.3%, 54.5%)
CIE-LABlab(44.25, -29.84, 42.93)
CIE-LCHlch(44.25, 52.28, 124.81°)
OKLaboklab(50.94% -0.0845 0.0955)
OKLCHoklch(50.94% 0.128 131.5)
XYZxyz(9.2342, 14.0122, 3.0821)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7418 #421874
analogous
#747018 #4A7418 #1C7418
triadic
#4A7418 #184A74 #74184A
tetradic
#4A7418 #187470 #421874 #74181C
square
#4A7418 #187470 #421874 #74181C
split-complementary
#4A7418 #181C74 #701874
monochromatic
#101905 #2A410E #4A7418 #6AA722 #8AD532

Accessibility & contrast

On white

5.52
#4A7418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4A7418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7418
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7418#FFFFFF#000000##FFFFFF
##4A74181.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B03
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#4B6F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4a7418;
/* rgb */ color: rgb(74, 116, 24);
/* oklch */ color: oklch(50.9% 0.128 131.5);
Tailwind
colors: {
  custom: {
    50: '#819c5d',
    500: '#4a7418',
    950: '#000000',
  },
}
SCSS
$custom: #4a7418;
$custom-light: #819c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7418",
  "rgb": {
    "r": 74,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 87.391,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50937,
    "c": 0.12751,
    "h": 131.5
  },
  "luminance": 0.14013
}

Semantic roles & 50–950 ramp

primary
#4A7418
secondary
#6F3FA9
accent
#3FE98D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7418

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

Preview Lab → · Contrast checker → · Palette generator →

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