#4A6617#4A6617

#4A6617 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.2% C 0.109 H 127.4°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#4A6617
RGBrgb(74, 102, 23)
HSLhsl(81, 63%, 25%)
HSVhsv(81, 77%, 40%)
CMYKcmyk(27.5%, 0%, 77.5%, 60%)
CIE-LABlab(39.61, -23.09, 38.81)
CIE-LCHlch(39.61, 45.16, 120.75°)
OKLaboklab(47.16% -0.0663 0.0867)
OKLCHoklch(47.16% 0.109 127.4)
XYZxyz(7.7301, 11.0203, 2.5303)
Luminance0.1102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6617 #331766
analogous
#665B17 #4A6617 #236617
triadic
#4A6617 #174A66 #66174A
tetradic
#4A6617 #17665B #331766 #661723
square
#4A6617 #17665B #331766 #661723
split-complementary
#4A6617 #172366 #5B1766
monochromatic
#121906 #26340C #4A6617 #6E9822 #92CA2E

Accessibility & contrast

On white

6.55
#4A6617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4A6617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6617
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6617#FFFFFF#000000##FFFFFF
##4A66171.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E08
Deuteranopia (green-blind)
#685D1E
Tritanopia (blue-blind)
#4D6157
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4a6617;
/* rgb */ color: rgb(74, 102, 23);
/* oklch */ color: oklch(47.2% 0.109 127.4);
Tailwind
colors: {
  custom: {
    50: '#7f915a',
    500: '#4a6617',
    950: '#000000',
  },
}
SCSS
$custom: #4a6617;
$custom-light: #7f915a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6617",
  "rgb": {
    "r": 74,
    "g": 102,
    "b": 23
  },
  "hsl": {
    "h": 81.266,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47161,
    "c": 0.10909,
    "h": 127.4
  },
  "luminance": 0.1102
}

Semantic roles & 50–950 ramp

primary
#4A6617
secondary
#5E3C9C
accent
#42E67C
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0D04
muted
#7C7D79

Preview Lab

Preview with #4A6617

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

Preview Lab → · Contrast checker → · Palette generator →

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