#4C6313#4C6313

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

Color values

HEX#4C6313
RGBrgb(76, 99, 19)
HSLhsl(77, 68%, 23%)
HSVhsv(77, 81%, 39%)
CMYKcmyk(23.2%, 0%, 80.8%, 61.2%)
CIE-LABlab(38.74, -20.91, 39.53)
CIE-LCHlch(38.74, 44.72, 117.88°)
OKLaboklab(46.48% -0.0608 0.0874)
OKLCHoklch(46.48% 0.106 124.8)
XYZxyz(7.5599, 10.5071, 2.2458)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6313 #2A1363
analogous
#635213 #4C6313 #246313
triadic
#4C6313 #134C63 #63134C
tetradic
#4C6313 #136352 #2A1363 #631324
square
#4C6313 #136352 #2A1363 #631324
split-complementary
#4C6313 #132463 #521363
monochromatic
#141A05 #253009 #4C6313 #73961D #9BCA27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #4c6313;
/* rgb */ color: rgb(76, 99, 19);
/* oklch */ color: oklch(46.5% 0.106 124.8);
Tailwind
colors: {
  custom: {
    50: '#818f58',
    500: '#4c6313',
    950: '#000000',
  },
}
SCSS
$custom: #4c6313;
$custom-light: #818f58;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6313",
  "rgb": {
    "r": 76,
    "g": 99,
    "b": 19
  },
  "hsl": {
    "h": 77.25,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46478,
    "c": 0.10646,
    "h": 124.8
  },
  "luminance": 0.10507
}

Semantic roles & 50–950 ramp

primary
#4C6313
secondary
#54379B
accent
#3DEB6F
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4C6313

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

Preview Lab → · Contrast checker → · Palette generator →

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