#4C5A10#4C5A10

#4C5A10 is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 44.1% C 0.096 H 120.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#4C5A10
RGBrgb(76, 90, 16)
HSLhsl(71, 70%, 21%)
HSVhsv(71, 82%, 35%)
CMYKcmyk(15.6%, 0%, 82.2%, 64.7%)
CIE-LABlab(35.76, -16.27, 37.83)
CIE-LCHlch(35.76, 41.17, 113.27°)
OKLaboklab(44.07% -0.0483 0.0832)
OKLCHoklch(44.07% 0.096 120.2)
XYZxyz(6.7303, 8.8863, 1.8508)
Luminance0.0889 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5A10 #1E105A
analogous
#5A4310 #4C5A10 #275A10
triadic
#4C5A10 #104C5A #5A104C
tetradic
#4C5A10 #105A43 #1E105A #5A1027
square
#4C5A10 #105A43 #1E105A #5A1027
split-complementary
#4C5A10 #10275A #43105A
monochromatic
#161A05 #202607 #4C5A10 #788E19 #A4C222

Accessibility & contrast

On white

7.56
#4C5A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4C5A10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5A10
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5A10#FFFFFF#000000##FFFFFF
##4C5A101.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605401
Deuteranopia (green-blind)
#5F5417
Tritanopia (blue-blind)
#51554C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4c5a10;
/* rgb */ color: rgb(76, 90, 16);
/* oklch */ color: oklch(44.1% 0.096 120.2);
Tailwind
colors: {
  custom: {
    50: '#818855',
    500: '#4c5a10',
    950: '#000000',
  },
}
SCSS
$custom: #4c5a10;
$custom-light: #818855;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5a10",
  "rgb": {
    "r": 76,
    "g": 90,
    "b": 16
  },
  "hsl": {
    "h": 71.351,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4407,
    "c": 0.09626,
    "h": 120.2
  },
  "luminance": 0.08886
}

Semantic roles & 50–950 ramp

primary
#4C5A10
secondary
#453393
accent
#3BED5D
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4C5A10

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

Preview Lab → · Contrast checker → · Palette generator →

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