#4C581A#4C581A

#4C581A is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.6% C 0.086 H 119.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#4C581A
RGBrgb(76, 88, 26)
HSLhsl(72, 54%, 22%)
HSVhsv(72, 70%, 35%)
CMYKcmyk(13.6%, 0%, 70.5%, 65.5%)
CIE-LABlab(35.18, -14.52, 33.09)
CIE-LCHlch(35.18, 36.13, 113.69°)
OKLaboklab(43.63% -0.0425 0.0751)
OKLCHoklch(43.63% 0.086 119.5)
XYZxyz(6.6568, 8.5906, 2.2845)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C581A #261A58
analogous
#58451A #4C581A #2D581A
triadic
#4C581A #1A4C58 #581A4C
tetradic
#4C581A #1A5845 #261A58 #581A2D
square
#4C581A #1A5845 #261A58 #581A2D
split-complementary
#4C581A #1A2D58 #451A58
monochromatic
#141807 #23290C #4C581A #758728 #9EB636

Accessibility & contrast

On white

7.73
#4C581A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C581A
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C581A#FFFFFF#000000##FFFFFF
##4C581A1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5312
Deuteranopia (green-blind)
#5C531F
Tritanopia (blue-blind)
#51534B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4c581a;
/* rgb */ color: rgb(76, 88, 26);
/* oklch */ color: oklch(43.6% 0.086 119.5);
Tailwind
colors: {
  custom: {
    50: '#80875a',
    500: '#4c581a',
    950: '#000000',
  },
}
SCSS
$custom: #4c581a;
$custom-light: #80875a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c581a",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 26
  },
  "hsl": {
    "h": 71.613,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43626,
    "c": 0.08628,
    "h": 119.5
  },
  "luminance": 0.08591
}

Semantic roles & 50–950 ramp

primary
#4C581A
secondary
#4F408E
accent
#4ADE67
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4C581A

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

Preview Lab → · Contrast checker → · Palette generator →

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