#4A7514#4A7514

#4A7514 is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.2% C 0.131 H 131.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4A7514
RGBrgb(74, 117, 20)
HSLhsl(87, 71%, 27%)
HSVhsv(87, 83%, 46%)
CMYKcmyk(36.8%, 0%, 82.9%, 54.1%)
CIE-LABlab(44.56, -30.53, 44.56)
CIE-LCHlch(44.56, 54.02, 124.42°)
OKLaboklab(51.18% -0.0867 0.0982)
OKLCHoklch(51.18% 0.131 131.4)
XYZxyz(9.3115, 14.2286, 2.9175)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7514 #3F1475
analogous
#757014 #4A7514 #1A7514
triadic
#4A7514 #144A75 #75144A
tetradic
#4A7514 #147570 #3F1475 #75141A
square
#4A7514 #147570 #3F1475 #75141A
split-complementary
#4A7514 #141A75 #701475
monochromatic
#111A04 #29410B #4A7514 #6BA91D #8CDA29

Accessibility & contrast

On white

5.46
#4A7514 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4A7514 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7514
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7514#FFFFFF#000000##FFFFFF
##4A75141.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#75681F
Tritanopia (blue-blind)
#4B7063
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4a7514;
/* rgb */ color: rgb(74, 117, 20);
/* oklch */ color: oklch(51.2% 0.131 131.4);
Tailwind
colors: {
  custom: {
    50: '#819d5b',
    500: '#4a7514',
    950: '#000000',
  },
}
SCSS
$custom: #4a7514;
$custom-light: #819d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7514",
  "rgb": {
    "r": 74,
    "g": 117,
    "b": 20
  },
  "hsl": {
    "h": 86.598,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51182,
    "c": 0.13101,
    "h": 131.4
  },
  "luminance": 0.14229
}

Semantic roles & 50–950 ramp

primary
#4A7514
secondary
#6C3AAB
accent
#3AEE8A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7514

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

Preview Lab → · Contrast checker → · Palette generator →

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