#4C581B#4C581B

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

Color values

HEX#4C581B
RGBrgb(76, 88, 27)
HSLhsl(72, 53%, 23%)
HSVhsv(72, 69%, 35%)
CMYKcmyk(13.6%, 0%, 69.3%, 65.5%)
CIE-LABlab(35.19, -14.44, 32.62)
CIE-LCHlch(35.19, 35.68, 113.88°)
OKLaboklab(43.64% -0.0422 0.0743)
OKLCHoklch(43.64% 0.085 119.6)
XYZxyz(6.6682, 8.5951, 2.3444)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C581B #271B58
analogous
#58451B #4C581B #2E581B
triadic
#4C581B #1B4C58 #581B4C
tetradic
#4C581B #1B5845 #271B58 #581B2E
square
#4C581B #1B5845 #271B58 #581B2E
split-complementary
#4C581B #1B2E58 #451B58
monochromatic
#141707 #24290D #4C581B #748729 #9DB638

Accessibility & contrast

On white

7.72
#4C581B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C581B
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C581B#FFFFFF#000000##FFFFFF
##4C581B1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c581b;
/* rgb */ color: rgb(76, 88, 27);
/* oklch */ color: oklch(43.6% 0.085 119.6);
Tailwind
colors: {
  custom: {
    50: '#80875b',
    500: '#4c581b',
    950: '#000000',
  },
}
SCSS
$custom: #4c581b;
$custom-light: #80875b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c581b",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 27
  },
  "hsl": {
    "h": 71.803,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43636,
    "c": 0.08542,
    "h": 119.6
  },
  "luminance": 0.08595
}

Semantic roles & 50–950 ramp

primary
#4C581B
secondary
#50418E
accent
#4BDC68
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4C581B

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

Preview Lab → · Contrast checker → · Palette generator →

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