#4C6316#4C6316

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

Color values

HEX#4C6316
RGBrgb(76, 99, 22)
HSLhsl(78, 64%, 24%)
HSVhsv(78, 78%, 39%)
CMYKcmyk(23.2%, 0%, 77.8%, 61.2%)
CIE-LABlab(38.76, -20.73, 38.41)
CIE-LCHlch(38.76, 43.65, 118.36°)
OKLaboklab(46.5% -0.06 0.0856)
OKLCHoklch(46.5% 0.105 125.1)
XYZxyz(7.5872, 10.5180, 2.3894)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6316 #2D1663
analogous
#635316 #4C6316 #256316
triadic
#4C6316 #164C63 #63164C
tetradic
#4C6316 #166353 #2D1663 #631625
square
#4C6316 #166353 #2D1663 #631625
split-complementary
#4C6316 #162563 #531663
monochromatic
#131906 #26310B #4C6316 #729521 #99C72C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C6316#FFFFFF#000000##FFFFFF
##4C63161.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)
#695C07
Deuteranopia (green-blind)
#665B1D
Tritanopia (blue-blind)
#505E54
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4c6316;
/* rgb */ color: rgb(76, 99, 22);
/* oklch */ color: oklch(46.5% 0.105 125.1);
Tailwind
colors: {
  custom: {
    50: '#818f59',
    500: '#4c6316',
    950: '#000000',
  },
}
SCSS
$custom: #4c6316;
$custom-light: #818f59;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6316",
  "rgb": {
    "r": 76,
    "g": 99,
    "b": 22
  },
  "hsl": {
    "h": 77.922,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46499,
    "c": 0.10456,
    "h": 125.1
  },
  "luminance": 0.10518
}

Semantic roles & 50–950 ramp

primary
#4C6316
secondary
#573B9A
accent
#41E773
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4C6316

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

Preview Lab → · Contrast checker → · Palette generator →

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