#4C5D0F#4C5D0F

#4C5D0F is a dark, moderate yellow-green. Relative luminance 0.094; OKLCH L 44.9% C 0.101 H 121.7°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#4C5D0F
RGBrgb(76, 93, 15)
HSLhsl(73, 72%, 21%)
HSVhsv(73, 84%, 36%)
CMYKcmyk(18.3%, 0%, 83.9%, 63.5%)
CIE-LABlab(36.74, -17.94, 39.08)
CIE-LCHlch(36.74, 43.00, 114.67°)
OKLaboklab(44.86% -0.053 0.0857)
OKLCHoklch(44.86% 0.101 121.7)
XYZxyz(6.9812, 9.3997, 1.8984)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5D0F #200F5D
analogous
#5D470F #4C5D0F #255D0F
triadic
#4C5D0F #0F4C5D #5D0F4C
tetradic
#4C5D0F #0F5D47 #200F5D #5D0F25
square
#4C5D0F #0F5D47 #200F5D #5D0F25
split-complementary
#4C5D0F #0F255D #470F5D
monochromatic
#161A04 #212806 #4C5D0F #779217 #A2C620

Accessibility & contrast

On white

7.29
#4C5D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4C5D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5D0F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5D0F#FFFFFF#000000##FFFFFF
##4C5D0F1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635700
Deuteranopia (green-blind)
#615617
Tritanopia (blue-blind)
#51584F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4c5d0f;
/* rgb */ color: rgb(76, 93, 15);
/* oklch */ color: oklch(44.9% 0.101 121.7);
Tailwind
colors: {
  custom: {
    50: '#818b55',
    500: '#4c5d0f',
    950: '#000000',
  },
}
SCSS
$custom: #4c5d0f;
$custom-light: #818b55;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5d0f",
  "rgb": {
    "r": 76,
    "g": 93,
    "b": 15
  },
  "hsl": {
    "h": 73.077,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.44857,
    "c": 0.10078,
    "h": 121.7
  },
  "luminance": 0.094
}

Semantic roles & 50–950 ramp

primary
#4C5D0F
secondary
#473196
accent
#39EF61
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4C5D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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