#4A6216#4A6216

#4A6216 is a mid, moderate yellow-green. Relative luminance 0.102; OKLCH L 46.1% C 0.104 H 125.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#4A6216
RGBrgb(74, 98, 22)
HSLhsl(79, 63%, 24%)
HSVhsv(79, 78%, 38%)
CMYKcmyk(24.5%, 0%, 77.6%, 61.6%)
CIE-LABlab(38.29, -21.10, 37.91)
CIE-LCHlch(38.29, 43.38, 119.10°)
OKLaboklab(46.08% -0.0609 0.0846)
OKLCHoklch(46.08% 0.104 125.8)
XYZxyz(7.3366, 10.2490, 2.3506)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6216 #2E1662
analogous
#625416 #4A6216 #246216
triadic
#4A6216 #164A62 #62164A
tetradic
#4A6216 #166254 #2E1662 #621624
square
#4A6216 #166254 #2E1662 #621624
split-complementary
#4A6216 #162462 #541662
monochromatic
#131906 #24300B #4A6216 #709421 #95C62C

Accessibility & contrast

On white

6.89
#4A6216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4A6216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6216
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6216#FFFFFF#000000##FFFFFF
##4A62161.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B08
Deuteranopia (green-blind)
#645A1D
Tritanopia (blue-blind)
#4D5D53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4a6216;
/* rgb */ color: rgb(74, 98, 22);
/* oklch */ color: oklch(46.1% 0.104 125.8);
Tailwind
colors: {
  custom: {
    50: '#7f8e59',
    500: '#4a6216',
    950: '#000000',
  },
}
SCSS
$custom: #4a6216;
$custom-light: #7f8e59;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6216",
  "rgb": {
    "r": 74,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 78.947,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46082,
    "c": 0.10424,
    "h": 125.8
  },
  "luminance": 0.10249
}

Semantic roles & 50–950 ramp

primary
#4A6216
secondary
#593B99
accent
#41E676
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #4A6216

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

Preview Lab → · Contrast checker → · Palette generator →

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