#4C6213#4C6213

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

Color values

HEX#4C6213
RGBrgb(76, 98, 19)
HSLhsl(77, 68%, 23%)
HSVhsv(77, 81%, 38%)
CMYKcmyk(22.4%, 0%, 80.6%, 61.6%)
CIE-LABlab(38.41, -20.39, 39.22)
CIE-LCHlch(38.41, 44.20, 117.47°)
OKLaboklab(46.21% -0.0594 0.0867)
OKLCHoklch(46.21% 0.105 124.4)
XYZxyz(7.4658, 10.3188, 2.2144)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6213 #291362
analogous
#625013 #4C6213 #246213
triadic
#4C6213 #134C62 #62134C
tetradic
#4C6213 #136250 #291362 #621324
square
#4C6213 #136250 #291362 #621324
split-complementary
#4C6213 #132462 #501362
monochromatic
#141A05 #242F09 #4C6213 #74951D #9CC927

Accessibility & contrast

On white

6.85
#4C6213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C6213
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6213#FFFFFF#000000##FFFFFF
##4C62131.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c6213;
/* rgb */ color: rgb(76, 98, 19);
/* oklch */ color: oklch(46.2% 0.105 124.4);
Tailwind
colors: {
  custom: {
    50: '#818e58',
    500: '#4c6213',
    950: '#000000',
  },
}
SCSS
$custom: #4c6213;
$custom-light: #818e58;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6213",
  "rgb": {
    "r": 76,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 76.709,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46212,
    "c": 0.10512,
    "h": 124.4
  },
  "luminance": 0.10319
}

Semantic roles & 50–950 ramp

primary
#4C6213
secondary
#53379A
accent
#3DEA6E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4C6213

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

Preview Lab → · Contrast checker → · Palette generator →

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