#4C6216#4C6216

#4C6216 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.2% C 0.103 H 124.6°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#4C6216
RGBrgb(76, 98, 22)
HSLhsl(77, 63%, 24%)
HSVhsv(77, 78%, 38%)
CMYKcmyk(22.4%, 0%, 77.6%, 61.6%)
CIE-LABlab(38.43, -20.21, 38.09)
CIE-LCHlch(38.43, 43.12, 117.95°)
OKLaboklab(46.23% -0.0586 0.0849)
OKLCHoklch(46.23% 0.103 124.6)
XYZxyz(7.4931, 10.3297, 2.3580)
Luminance0.1033 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6216 #2C1662
analogous
#625216 #4C6216 #266216
triadic
#4C6216 #164C62 #62164C
tetradic
#4C6216 #166252 #2C1662 #621626
square
#4C6216 #166252 #2C1662 #621626
split-complementary
#4C6216 #162662 #521662
monochromatic
#131906 #25300B #4C6216 #739421 #9AC62C

Accessibility & contrast

On white

6.85
#4C6216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4C6216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6216
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6216#FFFFFF#000000##FFFFFF
##4C62161.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B08
Deuteranopia (green-blind)
#655A1D
Tritanopia (blue-blind)
#505D53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4c6216;
/* rgb */ color: rgb(76, 98, 22);
/* oklch */ color: oklch(46.2% 0.103 124.6);
Tailwind
colors: {
  custom: {
    50: '#818e59',
    500: '#4c6216',
    950: '#000000',
  },
}
SCSS
$custom: #4c6216;
$custom-light: #818e59;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6216",
  "rgb": {
    "r": 76,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 77.368,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46233,
    "c": 0.10319,
    "h": 124.6
  },
  "luminance": 0.1033
}

Semantic roles & 50–950 ramp

primary
#4C6216
secondary
#563B99
accent
#41E671
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #4C6216

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

Preview Lab → · Contrast checker → · Palette generator →

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