#4A8015#4A8015

#4A8015 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.2% C 0.145 H 133.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4A8015
RGBrgb(74, 128, 21)
HSLhsl(90, 72%, 29%)
HSVhsv(90, 84%, 50%)
CMYKcmyk(42.2%, 0%, 83.6%, 49.8%)
CIE-LABlab(48.19, -35.44, 47.59)
CIE-LCHlch(48.19, 59.33, 126.67°)
OKLaboklab(54.16% -0.0998 0.1048)
OKLCHoklch(54.16% 0.145 133.6)
XYZxyz(10.6784, 16.9478, 3.4179)
Luminance0.1695 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8015 #4B1580
analogous
#808015 #4A8015 #158015
triadic
#4A8015 #154A80 #80154A
tetradic
#4A8015 #158080 #4B1580 #801515
square
#4A8015 #158080 #4B1580 #801515
split-complementary
#4A8015 #151580 #801580
monochromatic
#0F1A04 #2C4B0C #4A8015 #68B51E #87DD32

Accessibility & contrast

On white

4.78
#4A8015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#4A8015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A8015
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8015#FFFFFF#000000##FFFFFF
##4A80151.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#4A7B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4a8015;
/* rgb */ color: rgb(74, 128, 21);
/* oklch */ color: oklch(54.2% 0.145 133.6);
Tailwind
colors: {
  custom: {
    50: '#82a55d',
    500: '#4a8015',
    950: '#000000',
  },
}
SCSS
$custom: #4a8015;
$custom-light: #82a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8015",
  "rgb": {
    "r": 74,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 90.28,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54157,
    "c": 0.1447,
    "h": 133.6
  },
  "luminance": 0.16948
}

Semantic roles & 50–950 ramp

primary
#4A8015
secondary
#793CB5
accent
#39EF95
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A8015

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

Preview Lab → · Contrast checker → · Palette generator →

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