#4A8817#4A8817

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

Color values

HEX#4A8817
RGBrgb(74, 136, 23)
HSLhsl(93, 71%, 31%)
HSVhsv(93, 83%, 53%)
CMYKcmyk(45.6%, 0%, 83.1%, 46.7%)
CIE-LABlab(50.83, -38.77, 49.41)
CIE-LCHlch(50.83, 62.80, 128.12°)
OKLaboklab(56.33% -0.1086 0.1089)
OKLCHoklch(56.33% 0.154 134.9)
XYZxyz(11.7826, 19.1253, 3.8812)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8817 #551788
analogous
#828817 #4A8817 #17881C
triadic
#4A8817 #174A88 #88174A
tetradic
#4A8817 #178288 #551788 #881C17
square
#4A8817 #178288 #551788 #881C17
split-complementary
#4A8817 #1C1788 #881782
monochromatic
#111F05 #2E540E #4A8817 #66BC20 #85DE3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A8817#FFFFFF#000000##000000
##4A88171.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)
#857724
Tritanopia (blue-blind)
#488274
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4a8817;
/* rgb */ color: rgb(74, 136, 23);
/* oklch */ color: oklch(56.3% 0.154 134.9);
Tailwind
colors: {
  custom: {
    50: '#83ab5f',
    500: '#4a8817',
    950: '#000000',
  },
}
SCSS
$custom: #4a8817;
$custom-light: #83ab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8817",
  "rgb": {
    "r": 74,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 92.92,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56325,
    "c": 0.15382,
    "h": 134.9
  },
  "luminance": 0.19126
}

Semantic roles & 50–950 ramp

primary
#4A8817
secondary
#833FBC
accent
#3AEE9D
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4A8817

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

Preview Lab → · Contrast checker → · Palette generator →

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