#4A8014#4A8014

#4A8014 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#4A8014
RGBrgb(74, 128, 20)
HSLhsl(90, 73%, 29%)
HSVhsv(90, 84%, 50%)
CMYKcmyk(42.2%, 0%, 84.4%, 49.8%)
CIE-LABlab(48.19, -35.48, 47.88)
CIE-LCHlch(48.19, 59.59, 126.54°)
OKLaboklab(54.15% -0.1 0.1052)
OKLCHoklch(54.15% 0.145 133.6)
XYZxyz(10.6693, 16.9441, 3.3701)
Luminance0.1694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8014 #4A1480
analogous
#808014 #4A8014 #148014
triadic
#4A8014 #144A80 #80144A
tetradic
#4A8014 #148080 #4A1480 #801414
square
#4A8014 #148080 #4A1480 #801414
split-complementary
#4A8014 #141480 #801480
monochromatic
#0F1A04 #2B4B0C #4A8014 #69B51C #87DF30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A8014#FFFFFF#000000##FFFFFF
##4A80141.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)
#7E7121
Tritanopia (blue-blind)
#4A7B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4a8014;
/* rgb */ color: rgb(74, 128, 20);
/* oklch */ color: oklch(54.2% 0.145 133.6);
Tailwind
colors: {
  custom: {
    50: '#82a55d',
    500: '#4a8014',
    950: '#000000',
  },
}
SCSS
$custom: #4a8014;
$custom-light: #82a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8014",
  "rgb": {
    "r": 74,
    "g": 128,
    "b": 20
  },
  "hsl": {
    "h": 90,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54152,
    "c": 0.14515,
    "h": 133.6
  },
  "luminance": 0.16945
}

Semantic roles & 50–950 ramp

primary
#4A8014
secondary
#783BB5
accent
#38F094
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A8014

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

Preview Lab → · Contrast checker → · Palette generator →

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