#4C6312#4C6312

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

Color values

HEX#4C6312
RGBrgb(76, 99, 18)
HSLhsl(77, 69%, 23%)
HSVhsv(77, 82%, 39%)
CMYKcmyk(23.2%, 0%, 81.8%, 61.2%)
CIE-LABlab(38.73, -20.96, 39.88)
CIE-LCHlch(38.73, 45.05, 117.73°)
OKLaboklab(46.47% -0.061 0.088)
OKLCHoklch(46.47% 0.107 124.8)
XYZxyz(7.5516, 10.5038, 2.2017)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6312 #291263
analogous
#635112 #4C6312 #236312
triadic
#4C6312 #124C63 #63124C
tetradic
#4C6312 #126351 #291263 #631223
square
#4C6312 #126351 #291263 #631223
split-complementary
#4C6312 #122363 #511263
monochromatic
#141A05 #242F09 #4C6312 #74971B #9CCB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C6312#FFFFFF#000000##FFFFFF
##4C63121.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)
#665B1A
Tritanopia (blue-blind)
#505E54
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4c6312;
/* rgb */ color: rgb(76, 99, 18);
/* oklch */ color: oklch(46.5% 0.107 124.8);
Tailwind
colors: {
  custom: {
    50: '#818f57',
    500: '#4c6312',
    950: '#000000',
  },
}
SCSS
$custom: #4c6312;
$custom-light: #818f57;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6312",
  "rgb": {
    "r": 76,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 77.037,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46471,
    "c": 0.10705,
    "h": 124.8
  },
  "luminance": 0.10504
}

Semantic roles & 50–950 ramp

primary
#4C6312
secondary
#53369B
accent
#3CEC6E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4C6312

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

Preview Lab → · Contrast checker → · Palette generator →

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