#4C581E#4C581E

#4C581E is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.7% C 0.083 H 119.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#4C581E
RGBrgb(76, 88, 30)
HSLhsl(72, 49%, 23%)
HSVhsv(72, 66%, 35%)
CMYKcmyk(13.6%, 0%, 65.9%, 65.5%)
CIE-LABlab(35.22, -14.19, 31.19)
CIE-LCHlch(35.22, 34.27, 114.46°)
OKLaboklab(43.67% -0.0411 0.0717)
OKLCHoklch(43.67% 0.083 119.8)
XYZxyz(6.7047, 8.6097, 2.5367)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C581E #2A1E58
analogous
#58471E #4C581E #2F581E
triadic
#4C581E #1E4C58 #581E4C
tetradic
#4C581E #1E5847 #2A1E58 #581E2F
square
#4C581E #1E5847 #2A1E58 #581E2F
split-complementary
#4C581E #1E2F58 #471E58
monochromatic
#141708 #252A0E #4C581E #73862E #9BB33D

Accessibility & contrast

On white

7.71
#4C581E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4C581E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C581E
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C581E#FFFFFF#000000##FFFFFF
##4C581E1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5317
Deuteranopia (green-blind)
#5C5322
Tritanopia (blue-blind)
#50534C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4c581e;
/* rgb */ color: rgb(76, 88, 30);
/* oklch */ color: oklch(43.7% 0.083 119.8);
Tailwind
colors: {
  custom: {
    50: '#80875d',
    500: '#4c581e',
    950: '#000000',
  },
}
SCSS
$custom: #4c581e;
$custom-light: #80875d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c581e",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 30
  },
  "hsl": {
    "h": 72.414,
    "s": 49.153,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43668,
    "c": 0.08267,
    "h": 119.8
  },
  "luminance": 0.0861
}

Semantic roles & 50–950 ramp

primary
#4C581E
secondary
#54458D
accent
#4FD96C
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4C581E

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

Preview Lab → · Contrast checker → · Palette generator →

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