#4C5810#4C5810

#4C5810 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.5% C 0.094 H 118.9°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#4C5810
RGBrgb(76, 88, 16)
HSLhsl(70, 69%, 20%)
HSVhsv(70, 82%, 35%)
CMYKcmyk(13.6%, 0%, 81.8%, 65.5%)
CIE-LABlab(35.11, -15.16, 37.22)
CIE-LCHlch(35.11, 40.19, 112.17°)
OKLaboklab(43.54% -0.0453 0.082)
OKLCHoklch(43.54% 0.094 118.9)
XYZxyz(6.5639, 8.5534, 1.7953)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5810 #1C1058
analogous
#584010 #4C5810 #285810
triadic
#4C5810 #104C58 #58104C
tetradic
#4C5810 #105840 #1C1058 #581028
square
#4C5810 #105840 #1C1058 #581028
split-complementary
#4C5810 #102858 #401058
monochromatic
#161A05 #1F2407 #4C5810 #798C19 #A5C023

Accessibility & contrast

On white

7.75
#4C5810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4C5810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5810
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5810#FFFFFF#000000##FFFFFF
##4C58101.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5302
Deuteranopia (green-blind)
#5D5317
Tritanopia (blue-blind)
#51534A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4c5810;
/* rgb */ color: rgb(76, 88, 16);
/* oklch */ color: oklch(43.5% 0.094 118.9);
Tailwind
colors: {
  custom: {
    50: '#818755',
    500: '#4c5810',
    950: '#000000',
  },
}
SCSS
$custom: #4c5810;
$custom-light: #818755;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5810",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 16
  },
  "hsl": {
    "h": 70,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.43542,
    "c": 0.09365,
    "h": 118.9
  },
  "luminance": 0.08553
}

Semantic roles & 50–950 ramp

primary
#4C5810
secondary
#423291
accent
#3CEC59
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4C5810

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

Preview Lab → · Contrast checker → · Palette generator →

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