#4A7717#4A7717

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

Color values

HEX#4A7717
RGBrgb(74, 119, 23)
HSLhsl(88, 68%, 28%)
HSVhsv(88, 81%, 47%)
CMYKcmyk(37.8%, 0%, 80.7%, 53.3%)
CIE-LABlab(45.24, -31.29, 44.21)
CIE-LCHlch(45.24, 54.17, 125.29°)
OKLaboklab(51.74% -0.0885 0.098)
OKLCHoklch(51.74% 0.132 132.1)
XYZxyz(9.5754, 14.7110, 3.1454)
Luminance0.1471 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7717 #441777
analogous
#777417 #4A7717 #1A7717
triadic
#4A7717 #174A77 #77174A
tetradic
#4A7717 #177774 #441777 #77171A
square
#4A7717 #177774 #441777 #77171A
split-complementary
#4A7717 #171A77 #741777
monochromatic
#101A05 #2A440D #4A7717 #6AAA21 #89D731

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A7717#FFFFFF#000000##FFFFFF
##4A77171.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: #4a7717;
/* rgb */ color: rgb(74, 119, 23);
/* oklch */ color: oklch(51.7% 0.132 132.1);
Tailwind
colors: {
  custom: {
    50: '#819e5d',
    500: '#4a7717',
    950: '#000000',
  },
}
SCSS
$custom: #4a7717;
$custom-light: #819e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7717",
  "rgb": {
    "r": 74,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 88.125,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5174,
    "c": 0.13205,
    "h": 132.1
  },
  "luminance": 0.14711
}

Semantic roles & 50–950 ramp

primary
#4A7717
secondary
#713EAC
accent
#3DEA8E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7717

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

Preview Lab → · Contrast checker → · Palette generator →

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