#4C6211#4C6211

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

Color values

HEX#4C6211
RGBrgb(76, 98, 17)
HSLhsl(76, 70%, 23%)
HSVhsv(76, 83%, 38%)
CMYKcmyk(22.4%, 0%, 82.7%, 61.6%)
CIE-LABlab(38.40, -20.50, 39.91)
CIE-LCHlch(38.40, 44.87, 117.18°)
OKLaboklab(46.2% -0.0598 0.0878)
OKLCHoklch(46.2% 0.106 124.3)
XYZxyz(7.4494, 10.3123, 2.1282)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6211 #271162
analogous
#624F11 #4C6211 #246211
triadic
#4C6211 #114C62 #62114C
tetradic
#4C6211 #11624F #271162 #621124
square
#4C6211 #11624F #271162 #621124
split-complementary
#4C6211 #112462 #4F1162
monochromatic
#141A05 #242E08 #4C6211 #74961A #9DCA23

Accessibility & contrast

On white

6.86
#4C6211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4C6211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6211
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6211#FFFFFF#000000##FFFFFF
##4C62111.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c6211;
/* rgb */ color: rgb(76, 98, 17);
/* oklch */ color: oklch(46.2% 0.106 124.3);
Tailwind
colors: {
  custom: {
    50: '#818e57',
    500: '#4c6211',
    950: '#000000',
  },
}
SCSS
$custom: #4c6211;
$custom-light: #818e57;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6211",
  "rgb": {
    "r": 76,
    "g": 98,
    "b": 17
  },
  "hsl": {
    "h": 76.296,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.46199,
    "c": 0.10629,
    "h": 124.3
  },
  "luminance": 0.10312
}

Semantic roles & 50–950 ramp

primary
#4C6211
secondary
#50349A
accent
#3BED6B
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4C6211

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

Preview Lab → · Contrast checker → · Palette generator →

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