#4A7D14#4A7D14

#4A7D14 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.3% C 0.141 H 133.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4A7D14
RGBrgb(74, 125, 20)
HSLhsl(89, 72%, 28%)
HSVhsv(89, 84%, 49%)
CMYKcmyk(40.8%, 0%, 84%, 51%)
CIE-LABlab(47.20, -34.16, 46.98)
CIE-LCHlch(47.20, 58.09, 126.02°)
OKLaboklab(53.34% -0.0965 0.1033)
OKLCHoklch(53.34% 0.141 133)
XYZxyz(10.2838, 16.1731, 3.2415)
Luminance0.1617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7D14 #47147D
analogous
#7D7B14 #4A7D14 #157D14
triadic
#4A7D14 #144A7D #7D144A
tetradic
#4A7D14 #147D7B #47147D #7D1415
square
#4A7D14 #147D7B #47147D #7D1415
split-complementary
#4A7D14 #14157D #7B147D
monochromatic
#101A04 #2B480C #4A7D14 #69B21C #88DE2E

Accessibility & contrast

On white

4.96
#4A7D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#4A7D14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7D14
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7D14#FFFFFF#000000##FFFFFF
##4A7D141.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7C6E20
Tritanopia (blue-blind)
#4A786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4a7d14;
/* rgb */ color: rgb(74, 125, 20);
/* oklch */ color: oklch(53.3% 0.141 133.0);
Tailwind
colors: {
  custom: {
    50: '#82a35c',
    500: '#4a7d14',
    950: '#000000',
  },
}
SCSS
$custom: #4a7d14;
$custom-light: #82a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7d14",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 89.143,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53342,
    "c": 0.14135,
    "h": 133
  },
  "luminance": 0.16174
}

Semantic roles & 50–950 ramp

primary
#4A7D14
secondary
#753AB2
accent
#39EF91
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F04
muted
#7C7F79

Preview Lab

Preview with #4A7D14

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

Preview Lab → · Contrast checker → · Palette generator →

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