#4C5A0F#4C5A0F

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

Color values

HEX#4C5A0F
RGBrgb(76, 90, 15)
HSLhsl(71, 71%, 21%)
HSVhsv(71, 83%, 35%)
CMYKcmyk(15.6%, 0%, 83.3%, 64.7%)
CIE-LABlab(35.76, -16.32, 38.17)
CIE-LCHlch(35.76, 41.52, 113.14°)
OKLaboklab(44.06% -0.0486 0.0838)
OKLCHoklch(44.06% 0.097 120.1)
XYZxyz(6.7230, 8.8833, 1.8123)
Luminance0.0888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5A0F #1D0F5A
analogous
#5A420F #4C5A0F #265A0F
triadic
#4C5A0F #0F4C5A #5A0F4C
tetradic
#4C5A0F #0F5A42 #1D0F5A #5A0F26
square
#4C5A0F #0F5A42 #1D0F5A #5A0F26
split-complementary
#4C5A0F #0F265A #420F5A
monochromatic
#161A04 #202606 #4C5A0F #788E18 #A5C320

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C5A0F#FFFFFF#000000##FFFFFF
##4C5A0F1.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)
#605400
Deuteranopia (green-blind)
#5F5416
Tritanopia (blue-blind)
#51554C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4c5a0f;
/* rgb */ color: rgb(76, 90, 15);
/* oklch */ color: oklch(44.1% 0.097 120.1);
Tailwind
colors: {
  custom: {
    50: '#818855',
    500: '#4c5a0f',
    950: '#000000',
  },
}
SCSS
$custom: #4c5a0f;
$custom-light: #818855;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5a0f",
  "rgb": {
    "r": 76,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 71.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.44063,
    "c": 0.09685,
    "h": 120.1
  },
  "luminance": 0.08883
}

Semantic roles & 50–950 ramp

primary
#4C5A0F
secondary
#443194
accent
#3AEE5B
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4C5A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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