#4A8D15#4A8D15

#4A8D15 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.7% C 0.161 H 135.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4A8D15
RGBrgb(74, 141, 21)
HSLhsl(94, 74%, 32%)
HSVhsv(94, 85%, 55%)
CMYKcmyk(47.5%, 0%, 85.1%, 44.7%)
CIE-LABlab(52.46, -40.94, 51.44)
CIE-LCHlch(52.46, 65.75, 128.51°)
OKLaboklab(57.66% -0.1146 0.1129)
OKLCHoklch(57.66% 0.161 135.4)
XYZxyz(12.4840, 20.5589, 4.0198)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8D15 #58158D
analogous
#868D15 #4A8D15 #158D1C
triadic
#4A8D15 #154A8D #8D154A
tetradic
#4A8D15 #15868D #58158D #8D1C15
square
#4A8D15 #15868D #58158D #8D1C15
split-complementary
#4A8D15 #1C158D #8D1586
monochromatic
#122205 #2E580D #4A8D15 #66C21D #84E23B

Accessibility & contrast

On white

4.11
#4A8D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#4A8D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8D15
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8D15#FFFFFF#000000##000000
##4A8D151.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#8A7B24
Tritanopia (blue-blind)
#488778
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a8d15;
/* rgb */ color: rgb(74, 141, 21);
/* oklch */ color: oklch(57.7% 0.161 135.4);
Tailwind
colors: {
  custom: {
    50: '#84af5f',
    500: '#4a8d15',
    950: '#000000',
  },
}
SCSS
$custom: #4a8d15;
$custom-light: #84af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8d15",
  "rgb": {
    "r": 74,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 93.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57661,
    "c": 0.16084,
    "h": 135.4
  },
  "luminance": 0.2056
}

Semantic roles & 50–950 ramp

primary
#4A8D15
secondary
#873DC1
accent
#37F19F
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #4A8D15

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

Preview Lab → · Contrast checker → · Palette generator →

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