#4A7716#4A7716

#4A7716 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.7% C 0.133 H 132.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4A7716
RGBrgb(74, 119, 22)
HSLhsl(88, 69%, 28%)
HSVhsv(88, 82%, 47%)
CMYKcmyk(37.8%, 0%, 81.5%, 53.3%)
CIE-LABlab(45.23, -31.35, 44.54)
CIE-LCHlch(45.23, 54.47, 125.14°)
OKLaboklab(51.73% -0.0887 0.0985)
OKLCHoklch(51.73% 0.133 132)
XYZxyz(9.5656, 14.7070, 3.0936)
Luminance0.1471 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7716 #431677
analogous
#777316 #4A7716 #1A7716
triadic
#4A7716 #164A77 #77164A
tetradic
#4A7716 #167773 #431677 #77161A
square
#4A7716 #167773 #431677 #77161A
split-complementary
#4A7716 #161A77 #731677
monochromatic
#101A05 #2A430C #4A7716 #6AAB20 #8AD92F

Accessibility & contrast

On white

5.33
#4A7716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4A7716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7716
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7716#FFFFFF#000000##FFFFFF
##4A77161.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#4B7265
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4a7716;
/* rgb */ color: rgb(74, 119, 22);
/* oklch */ color: oklch(51.7% 0.133 132.0);
Tailwind
colors: {
  custom: {
    50: '#819e5c',
    500: '#4a7716',
    950: '#000000',
  },
}
SCSS
$custom: #4a7716;
$custom-light: #819e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7716",
  "rgb": {
    "r": 74,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 87.835,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51734,
    "c": 0.13259,
    "h": 132
  },
  "luminance": 0.14707
}

Semantic roles & 50–950 ramp

primary
#4A7716
secondary
#703CAC
accent
#3CEC8E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7716

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

Preview Lab → · Contrast checker → · Palette generator →

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