#4A6417#4A6417

#4A6417 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.6% C 0.106 H 126.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#4A6417
RGBrgb(74, 100, 23)
HSLhsl(80, 63%, 24%)
HSVhsv(80, 77%, 39%)
CMYKcmyk(26%, 0%, 77%, 60.8%)
CIE-LABlab(38.95, -22.07, 38.16)
CIE-LCHlch(38.95, 44.09, 120.04°)
OKLaboklab(46.63% -0.0635 0.0853)
OKLCHoklch(46.63% 0.106 126.7)
XYZxyz(7.5359, 10.6319, 2.4656)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6417 #311764
analogous
#645817 #4A6417 #246417
triadic
#4A6417 #174A64 #64174A
tetradic
#4A6417 #176458 #311764 #641724
square
#4A6417 #176458 #311764 #641724
split-complementary
#4A6417 #172464 #581764
monochromatic
#121906 #25320C #4A6417 #6F9622 #94C82E

Accessibility & contrast

On white

6.72
#4A6417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4A6417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6417
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6417#FFFFFF#000000##FFFFFF
##4A64171.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D09
Deuteranopia (green-blind)
#665B1E
Tritanopia (blue-blind)
#4D5F55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4a6417;
/* rgb */ color: rgb(74, 100, 23);
/* oklch */ color: oklch(46.6% 0.106 126.7);
Tailwind
colors: {
  custom: {
    50: '#7f905a',
    500: '#4a6417',
    950: '#000000',
  },
}
SCSS
$custom: #4a6417;
$custom-light: #7f905a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6417",
  "rgb": {
    "r": 74,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 80.26,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46625,
    "c": 0.10633,
    "h": 126.7
  },
  "luminance": 0.10632
}

Semantic roles & 50–950 ramp

primary
#4A6417
secondary
#5C3C9A
accent
#42E679
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #4A6417

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

Preview Lab → · Contrast checker → · Palette generator →

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