#4C5F11#4C5F11

#4C5F11 is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.4% C 0.102 H 122.9°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#4C5F11
RGBrgb(76, 95, 17)
HSLhsl(75, 70%, 22%)
HSVhsv(75, 82%, 37%)
CMYKcmyk(20%, 0%, 82.1%, 62.7%)
CIE-LABlab(37.41, -18.91, 39.00)
CIE-LCHlch(37.41, 43.34, 115.87°)
OKLaboklab(45.4% -0.0555 0.0859)
OKLCHoklch(45.4% 0.102 122.9)
XYZxyz(7.1740, 9.7614, 2.0364)
Luminance0.0976 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5F11 #24115F
analogous
#5F4B11 #4C5F11 #255F11
triadic
#4C5F11 #114C5F #5F114C
tetradic
#4C5F11 #115F4B #24115F #5F1125
square
#4C5F11 #115F4B #24115F #5F1125
split-complementary
#4C5F11 #11255F #4B115F
monochromatic
#151A05 #222B08 #4C5F11 #76931A #9FC724

Accessibility & contrast

On white

7.11
#4C5F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4C5F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5F11
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5F11#FFFFFF#000000##FFFFFF
##4C5F111.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655900
Deuteranopia (green-blind)
#635819
Tritanopia (blue-blind)
#505A50
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4c5f11;
/* rgb */ color: rgb(76, 95, 17);
/* oklch */ color: oklch(45.4% 0.102 122.9);
Tailwind
colors: {
  custom: {
    50: '#818c56',
    500: '#4c5f11',
    950: '#000000',
  },
}
SCSS
$custom: #4c5f11;
$custom-light: #818c56;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5f11",
  "rgb": {
    "r": 76,
    "g": 95,
    "b": 17
  },
  "hsl": {
    "h": 74.615,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45401,
    "c": 0.10229,
    "h": 122.9
  },
  "luminance": 0.09761
}

Semantic roles & 50–950 ramp

primary
#4C5F11
secondary
#4C3498
accent
#3BEC66
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4C5F11

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

Preview Lab → · Contrast checker → · Palette generator →

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