#4A7617#4A7617

#4A7617 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.5% C 0.131 H 131.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4A7617
RGBrgb(74, 118, 23)
HSLhsl(88, 67%, 28%)
HSVhsv(88, 81%, 46%)
CMYKcmyk(37.3%, 0%, 80.5%, 53.7%)
CIE-LABlab(44.91, -30.83, 43.90)
CIE-LCHlch(44.91, 53.65, 125.08°)
OKLaboklab(51.47% -0.0873 0.0973)
OKLCHoklch(51.47% 0.131 131.9)
XYZxyz(9.4570, 14.4742, 3.1060)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7617 #431776
analogous
#767217 #4A7617 #1B7617
triadic
#4A7617 #174A76 #76174A
tetradic
#4A7617 #177672 #431776 #76171B
square
#4A7617 #177672 #431776 #76171B
split-complementary
#4A7617 #171B76 #721776
monochromatic
#101A05 #2A430D #4A7617 #6AA921 #8AD731

Accessibility & contrast

On white

5.39
#4A7617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4A7617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7617
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7617#FFFFFF#000000##FFFFFF
##4A76171.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#4B7164
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4a7617;
/* rgb */ color: rgb(74, 118, 23);
/* oklch */ color: oklch(51.5% 0.131 131.9);
Tailwind
colors: {
  custom: {
    50: '#819e5d',
    500: '#4a7617',
    950: '#000000',
  },
}
SCSS
$custom: #4a7617;
$custom-light: #819e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7617",
  "rgb": {
    "r": 74,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 87.789,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.5147,
    "c": 0.13074,
    "h": 131.9
  },
  "luminance": 0.14475
}

Semantic roles & 50–950 ramp

primary
#4A7617
secondary
#703EAB
accent
#3EEA8E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7617

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

Preview Lab → · Contrast checker → · Palette generator →

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