#4A6016#4A6016

#4A6016 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.5% C 0.101 H 124.9°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#4A6016
RGBrgb(74, 96, 22)
HSLhsl(78, 63%, 23%)
HSVhsv(78, 77%, 38%)
CMYKcmyk(22.9%, 0%, 77.1%, 62.4%)
CIE-LABlab(37.63, -20.06, 37.26)
CIE-LCHlch(37.63, 42.31, 118.29°)
OKLaboklab(45.55% -0.0581 0.0832)
OKLCHoklch(45.55% 0.101 124.9)
XYZxyz(7.1518, 9.8794, 2.2890)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6016 #2C1660
analogous
#605116 #4A6016 #256016
triadic
#4A6016 #164A60 #60164A
tetradic
#4A6016 #166051 #2C1660 #601625
square
#4A6016 #166051 #2C1660 #601625
split-complementary
#4A6016 #162560 #511660
monochromatic
#131906 #242E0B #4A6016 #709221 #97C42D

Accessibility & contrast

On white

7.06
#4A6016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4A6016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A6016
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6016#FFFFFF#000000##FFFFFF
##4A60161.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665908
Deuteranopia (green-blind)
#63581D
Tritanopia (blue-blind)
#4E5B52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4a6016;
/* rgb */ color: rgb(74, 96, 22);
/* oklch */ color: oklch(45.5% 0.101 124.9);
Tailwind
colors: {
  custom: {
    50: '#7f8d59',
    500: '#4a6016',
    950: '#000000',
  },
}
SCSS
$custom: #4a6016;
$custom-light: #7f8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6016",
  "rgb": {
    "r": 74,
    "g": 96,
    "b": 22
  },
  "hsl": {
    "h": 77.838,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45547,
    "c": 0.10147,
    "h": 124.9
  },
  "luminance": 0.0988
}

Semantic roles & 50–950 ramp

primary
#4A6016
secondary
#563B97
accent
#42E673
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #4A6016

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

Preview Lab → · Contrast checker → · Palette generator →

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