#4C5A0E#4C5A0E

#4C5A0E 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#4C5A0E
RGBrgb(76, 90, 14)
HSLhsl(71, 73%, 20%)
HSVhsv(71, 84%, 35%)
CMYKcmyk(15.6%, 0%, 84.4%, 64.7%)
CIE-LABlab(35.75, -16.36, 38.51)
CIE-LCHlch(35.75, 41.84, 113.02°)
OKLaboklab(44.06% -0.0488 0.0843)
OKLCHoklch(44.06% 0.097 120.1)
XYZxyz(6.7161, 8.8806, 1.7757)
Luminance0.0888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5A0E #1C0E5A
analogous
#5A420E #4C5A0E #265A0E
triadic
#4C5A0E #0E4C5A #5A0E4C
tetradic
#4C5A0E #0E5A42 #1C0E5A #5A0E26
square
#4C5A0E #0E5A42 #1C0E5A #5A0E26
split-complementary
#4C5A0E #0E265A #420E5A
monochromatic
#161A04 #1F2506 #4C5A0E #798F16 #A5C41E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C5A0E#FFFFFF#000000##FFFFFF
##4C5A0E1.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: #4c5a0e;
/* rgb */ color: rgb(76, 90, 14);
/* oklch */ color: oklch(44.1% 0.097 120.1);
Tailwind
colors: {
  custom: {
    50: '#818854',
    500: '#4c5a0e',
    950: '#000000',
  },
}
SCSS
$custom: #4c5a0e;
$custom-light: #818854;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5a0e",
  "rgb": {
    "r": 76,
    "g": 90,
    "b": 14
  },
  "hsl": {
    "h": 71.053,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.44057,
    "c": 0.09741,
    "h": 120.1
  },
  "luminance": 0.08881
}

Semantic roles & 50–950 ramp

primary
#4C5A0E
secondary
#423094
accent
#38F05A
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4C5A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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