#4C6415#4C6415

#4C6415 is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.8% C 0.107 H 125.4°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#4C6415
RGBrgb(76, 100, 21)
HSLhsl(78, 65%, 24%)
HSVhsv(78, 79%, 39%)
CMYKcmyk(24%, 0%, 79%, 60.8%)
CIE-LABlab(39.08, -21.31, 39.11)
CIE-LCHlch(39.08, 44.54, 118.59°)
OKLaboklab(46.76% -0.0617 0.0869)
OKLCHoklch(46.76% 0.107 125.4)
XYZxyz(7.6731, 10.7049, 2.3713)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6415 #2D1564
analogous
#645415 #4C6415 #246415
triadic
#4C6415 #154C64 #64154C
tetradic
#4C6415 #156454 #2D1564 #641524
square
#4C6415 #156454 #2D1564 #641524
split-complementary
#4C6415 #152464 #541564
monochromatic
#131905 #26310A #4C6415 #729720 #99C92A

Accessibility & contrast

On white

6.69
#4C6415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4C6415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6415
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6415#FFFFFF#000000##FFFFFF
##4C64151.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D05
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#505F55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4c6415;
/* rgb */ color: rgb(76, 100, 21);
/* oklch */ color: oklch(46.8% 0.107 125.4);
Tailwind
colors: {
  custom: {
    50: '#819059',
    500: '#4c6415',
    950: '#000000',
  },
}
SCSS
$custom: #4c6415;
$custom-light: #819059;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6415",
  "rgb": {
    "r": 76,
    "g": 100,
    "b": 21
  },
  "hsl": {
    "h": 78.228,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46758,
    "c": 0.10658,
    "h": 125.4
  },
  "luminance": 0.10705
}

Semantic roles & 50–950 ramp

primary
#4C6415
secondary
#573A9B
accent
#40E873
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4C6415

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

Preview Lab → · Contrast checker → · Palette generator →

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