#4C6311#4C6311

#4C6311 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.5% C 0.108 H 124.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#4C6311
RGBrgb(76, 99, 17)
HSLhsl(77, 71%, 23%)
HSVhsv(77, 83%, 39%)
CMYKcmyk(23.2%, 0%, 82.8%, 61.2%)
CIE-LABlab(38.73, -21.02, 40.22)
CIE-LCHlch(38.73, 45.38, 117.59°)
OKLaboklab(46.47% -0.0613 0.0885)
OKLCHoklch(46.47% 0.108 124.7)
XYZxyz(7.5436, 10.5006, 2.1596)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6311 #281163
analogous
#635111 #4C6311 #236311
triadic
#4C6311 #114C63 #63114C
tetradic
#4C6311 #116351 #281163 #631123
square
#4C6311 #116351 #281163 #631123
split-complementary
#4C6311 #112363 #511163
monochromatic
#141A04 #242F08 #4C6311 #74971A #9CCB23

Accessibility & contrast

On white

6.77
#4C6311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4C6311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6311
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6311#FFFFFF#000000##FFFFFF
##4C63111.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#665B19
Tritanopia (blue-blind)
#505E54
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4c6311;
/* rgb */ color: rgb(76, 99, 17);
/* oklch */ color: oklch(46.5% 0.108 124.7);
Tailwind
colors: {
  custom: {
    50: '#818f57',
    500: '#4c6311',
    950: '#000000',
  },
}
SCSS
$custom: #4c6311;
$custom-light: #818f57;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6311",
  "rgb": {
    "r": 76,
    "g": 99,
    "b": 17
  },
  "hsl": {
    "h": 76.829,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.46465,
    "c": 0.10762,
    "h": 124.7
  },
  "luminance": 0.10501
}

Semantic roles & 50–950 ramp

primary
#4C6311
secondary
#51349B
accent
#3AED6D
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4C6311

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

Preview Lab → · Contrast checker → · Palette generator →

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