#4A7F14#4A7F14

#4A7F14 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.9% C 0.144 H 133.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4A7F14
RGBrgb(74, 127, 20)
HSLhsl(90, 73%, 29%)
HSVhsv(90, 84%, 50%)
CMYKcmyk(41.7%, 0%, 84.3%, 50.2%)
CIE-LABlab(47.86, -35.05, 47.58)
CIE-LCHlch(47.86, 59.09, 126.37°)
OKLaboklab(53.88% -0.0988 0.1046)
OKLCHoklch(53.88% 0.144 133.4)
XYZxyz(10.5395, 16.6846, 3.3268)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7F14 #49147F
analogous
#7F7F14 #4A7F14 #147F14
triadic
#4A7F14 #144A7F #7F144A
tetradic
#4A7F14 #147F7F #49147F #7F1414
square
#4A7F14 #147F7F #49147F #7F1414
split-complementary
#4A7F14 #14147F #7F147F
monochromatic
#0F1A04 #2B4A0C #4A7F14 #69B41C #88DE2F

Accessibility & contrast

On white

4.84
#4A7F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#4A7F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7F14
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7F14#FFFFFF#000000##FFFFFF
##4A7F141.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7D7021
Tritanopia (blue-blind)
#4A7A6C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4a7f14;
/* rgb */ color: rgb(74, 127, 20);
/* oklch */ color: oklch(53.9% 0.144 133.4);
Tailwind
colors: {
  custom: {
    50: '#82a45d',
    500: '#4a7f14',
    950: '#000000',
  },
}
SCSS
$custom: #4a7f14;
$custom-light: #82a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7f14",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 89.72,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53882,
    "c": 0.14389,
    "h": 133.4
  },
  "luminance": 0.16685
}

Semantic roles & 50–950 ramp

primary
#4A7F14
secondary
#773BB4
accent
#38EF93
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A7F14

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

Preview Lab → · Contrast checker → · Palette generator →

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