#4A8A17#4A8A17

#4A8A17 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 56.9% C 0.156 H 135.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4A8A17
RGBrgb(74, 138, 23)
HSLhsl(93, 71%, 32%)
HSVhsv(93, 83%, 54%)
CMYKcmyk(46.4%, 0%, 83.3%, 45.9%)
CIE-LABlab(51.49, -39.60, 50.01)
CIE-LCHlch(51.49, 63.79, 128.38°)
OKLaboklab(56.86% -0.1109 0.1102)
OKLCHoklch(56.86% 0.156 135.2)
XYZxyz(12.0669, 19.6939, 3.9759)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8A17 #57178A
analogous
#848A17 #4A8A17 #178A1D
triadic
#4A8A17 #174A8A #8A174A
tetradic
#4A8A17 #17848A #57178A #8A1D17
square
#4A8A17 #17848A #57178A #8A1D17
split-complementary
#4A8A17 #1D178A #8A1784
monochromatic
#122106 #2E560E #4A8A17 #66BE20 #85DF3D

Accessibility & contrast

On white

4.25
#4A8A17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4A8A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8A17
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8A17#FFFFFF#000000##000000
##4A8A171.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#488475
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4a8a17;
/* rgb */ color: rgb(74, 138, 23);
/* oklch */ color: oklch(56.9% 0.156 135.2);
Tailwind
colors: {
  custom: {
    50: '#83ad60',
    500: '#4a8a17',
    950: '#000000',
  },
}
SCSS
$custom: #4a8a17;
$custom-light: #83ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8a17",
  "rgb": {
    "r": 74,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 93.391,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56863,
    "c": 0.15631,
    "h": 135.2
  },
  "luminance": 0.19695
}

Semantic roles & 50–950 ramp

primary
#4A8A17
secondary
#863FBE
accent
#3AEE9E
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4A8A17

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

Preview Lab → · Contrast checker → · Palette generator →

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