#4A8E15#4A8E15

#4A8E15 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 57.9% C 0.162 H 135.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4A8E15
RGBrgb(74, 142, 21)
HSLhsl(94, 74%, 32%)
HSVhsv(94, 85%, 56%)
CMYKcmyk(47.9%, 0%, 85.2%, 44.3%)
CIE-LABlab(52.79, -41.35, 51.74)
CIE-LCHlch(52.79, 66.23, 128.63°)
OKLaboklab(57.93% -0.1157 0.1135)
OKLCHoklch(57.93% 0.162 135.5)
XYZxyz(12.6321, 20.8552, 4.0691)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8E15 #59158E
analogous
#878E15 #4A8E15 #158E1D
triadic
#4A8E15 #154A8E #8E154A
tetradic
#4A8E15 #15878E #59158E #8E1D15
square
#4A8E15 #15878E #59158E #8E1D15
split-complementary
#4A8E15 #1D158E #8E1587
monochromatic
#122305 #2E590D #4A8E15 #66C31D #84E23B

Accessibility & contrast

On white

4.06
#4A8E15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4A8E15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8E15
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8E15#FFFFFF#000000##000000
##4A8E151.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8B7C25
Tritanopia (blue-blind)
#478879
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a8e15;
/* rgb */ color: rgb(74, 142, 21);
/* oklch */ color: oklch(57.9% 0.162 135.5);
Tailwind
colors: {
  custom: {
    50: '#84b060',
    500: '#4a8e15',
    950: '#000000',
  },
}
SCSS
$custom: #4a8e15;
$custom-light: #84b060;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8e15",
  "rgb": {
    "r": 74,
    "g": 142,
    "b": 21
  },
  "hsl": {
    "h": 93.719,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5793,
    "c": 0.16205,
    "h": 135.5
  },
  "luminance": 0.20856
}

Semantic roles & 50–950 ramp

primary
#4A8E15
secondary
#883DC2
accent
#37F19F
background
#F8FAF5
surface
#F0F5EA
border
#CBCFC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4A8E15

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

Preview Lab → · Contrast checker → · Palette generator →

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