#4C6B15#4C6B15

#4C6B15 is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 48.6% C 0.116 H 128.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#4C6B15
RGBrgb(76, 107, 21)
HSLhsl(82, 67%, 25%)
HSVhsv(82, 80%, 42%)
CMYKcmyk(29%, 0%, 80.4%, 58%)
CIE-LABlab(41.38, -24.86, 41.31)
CIE-LCHlch(41.38, 48.21, 121.04°)
OKLaboklab(48.63% -0.0714 0.0915)
OKLCHoklch(48.63% 0.116 128)
XYZxyz(8.3736, 12.1058, 2.6048)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C6B15 #34156B
analogous
#6B5F15 #4C6B15 #216B15
triadic
#4C6B15 #154C6B #6B154C
tetradic
#4C6B15 #156B5F #34156B #6B1521
square
#4C6B15 #156B5F #34156B #6B1521
split-complementary
#4C6B15 #15216B #5F156B
monochromatic
#121A05 #28380B #4C6B15 #709E1F #95D129

Accessibility & contrast

On white

6.14
#4C6B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4C6B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C6B15
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C6B15#FFFFFF#000000##FFFFFF
##4C6B151.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716302
Deuteranopia (green-blind)
#6C611E
Tritanopia (blue-blind)
#4F665B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4c6b15;
/* rgb */ color: rgb(76, 107, 21);
/* oklch */ color: oklch(48.6% 0.116 128.0);
Tailwind
colors: {
  custom: {
    50: '#81955a',
    500: '#4c6b15',
    950: '#000000',
  },
}
SCSS
$custom: #4c6b15;
$custom-light: #81955a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c6b15",
  "rgb": {
    "r": 76,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 81.628,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48629,
    "c": 0.11606,
    "h": 128
  },
  "luminance": 0.12106
}

Semantic roles & 50–950 ramp

primary
#4C6B15
secondary
#5F3AA2
accent
#3EEA7C
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C6B15

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

Preview Lab → · Contrast checker → · Palette generator →

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