#4C6515#4C6515

#4C6515 is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 47.0% C 0.108 H 125.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#4C6515
RGBrgb(76, 101, 21)
HSLhsl(79, 66%, 24%)
HSVhsv(79, 79%, 40%)
CMYKcmyk(24.8%, 0%, 79.2%, 60.4%)
CIE-LABlab(39.41, -21.83, 39.43)
CIE-LCHlch(39.41, 45.07, 118.97°)
OKLaboklab(47.03% -0.0631 0.0875)
OKLCHoklch(47.03% 0.108 125.8)
XYZxyz(7.7696, 10.8979, 2.4035)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6515 #2E1565
analogous
#655615 #4C6515 #246515
triadic
#4C6515 #154C65 #65154C
tetradic
#4C6515 #156556 #2E1565 #651524
square
#4C6515 #156556 #2E1565 #651524
split-complementary
#4C6515 #152465 #561565
monochromatic
#131905 #26320A #4C6515 #729820 #98CA2A

Accessibility & contrast

On white

6.60
#4C6515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4C6515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6515
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6515#FFFFFF#000000##FFFFFF
##4C65151.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E04
Deuteranopia (green-blind)
#675C1D
Tritanopia (blue-blind)
#506056
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4c6515;
/* rgb */ color: rgb(76, 101, 21);
/* oklch */ color: oklch(47.0% 0.108 125.8);
Tailwind
colors: {
  custom: {
    50: '#819159',
    500: '#4c6515',
    950: '#000000',
  },
}
SCSS
$custom: #4c6515;
$custom-light: #819159;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6515",
  "rgb": {
    "r": 76,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 78.75,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.47025,
    "c": 0.10793,
    "h": 125.8
  },
  "luminance": 0.10898
}

Semantic roles & 50–950 ramp

primary
#4C6515
secondary
#593A9C
accent
#3FE974
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4C6515

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

Preview Lab → · Contrast checker → · Palette generator →

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