#4C580E#4C580E

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

Color values

HEX#4C580E
RGBrgb(76, 88, 14)
HSLhsl(70, 73%, 20%)
HSVhsv(70, 84%, 35%)
CMYKcmyk(13.6%, 0%, 84.1%, 65.5%)
CIE-LABlab(35.10, -15.26, 37.92)
CIE-LCHlch(35.10, 40.87, 111.93°)
OKLaboklab(43.53% -0.0458 0.0831)
OKLCHoklch(43.53% 0.095 118.9)
XYZxyz(6.5496, 8.5477, 1.7202)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C580E #1A0E58
analogous
#583F0E #4C580E #27580E
triadic
#4C580E #0E4C58 #580E4C
tetradic
#4C580E #0E583F #1A0E58 #580E27
square
#4C580E #0E583F #1A0E58 #580E27
split-complementary
#4C580E #0E2758 #3F0E58
monochromatic
#171A04 #1E2306 #4C580E #7A8D16 #A7C21F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C580E#FFFFFF#000000##FFFFFF
##4C580E1.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)
#5E5300
Deuteranopia (green-blind)
#5D5315
Tritanopia (blue-blind)
#51534A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4c580e;
/* rgb */ color: rgb(76, 88, 14);
/* oklch */ color: oklch(43.5% 0.095 118.9);
Tailwind
colors: {
  custom: {
    50: '#818754',
    500: '#4c580e',
    950: '#000000',
  },
}
SCSS
$custom: #4c580e;
$custom-light: #818754;
$custom-dark: #000000;
JSON
{
  "hex": "#4c580e",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 14
  },
  "hsl": {
    "h": 69.73,
    "s": 72.549,
    "l": 20
  },
  "oklch": {
    "l": 0.4353,
    "c": 0.09483,
    "h": 118.9
  },
  "luminance": 0.08548
}

Semantic roles & 50–950 ramp

primary
#4C580E
secondary
#403092
accent
#39EF56
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4C580E

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

Preview Lab → · Contrast checker → · Palette generator →

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