#4C530D#4C530D

#4C530D is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.2% C 0.089 H 115.4°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#4C530D
RGBrgb(76, 83, 13)
HSLhsl(66, 73%, 19%)
HSVhsv(66, 84%, 33%)
CMYKcmyk(8.4%, 0%, 84.3%, 67.5%)
CIE-LABlab(33.46, -12.50, 36.77)
CIE-LCHlch(33.46, 38.84, 108.78°)
OKLaboklab(42.21% -0.0382 0.0804)
OKLCHoklch(42.21% 0.089 115.4)
XYZxyz(6.1466, 7.7522, 1.5532)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C530D #140D53
analogous
#53370D #4C530D #29530D
triadic
#4C530D #0D4C53 #530D4C
tetradic
#4C530D #0D5337 #140D53 #530D29
square
#4C530D #0D5337 #140D53 #530D29
split-complementary
#4C530D #0D2953 #370D53
monochromatic
#181A04 #1C1E05 #4C530D #7C8815 #ADBD1E

Accessibility & contrast

On white

8.23
#4C530D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4C530D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C530D
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C530D#FFFFFF#000000##FFFFFF
##4C530D1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4E00
Deuteranopia (green-blind)
#594F14
Tritanopia (blue-blind)
#524E46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c530d;
/* rgb */ color: rgb(76, 83, 13);
/* oklch */ color: oklch(42.2% 0.089 115.4);
Tailwind
colors: {
  custom: {
    50: '#818353',
    500: '#4c530d',
    950: '#000000',
  },
}
SCSS
$custom: #4c530d;
$custom-light: #818353;
$custom-dark: #000000;
JSON
{
  "hex": "#4c530d",
  "rgb": {
    "r": 76,
    "g": 83,
    "b": 13
  },
  "hsl": {
    "h": 66,
    "s": 72.917,
    "l": 18.824
  },
  "oklch": {
    "l": 0.42211,
    "c": 0.08905,
    "h": 115.4
  },
  "luminance": 0.07752
}

Semantic roles & 50–950 ramp

primary
#4C530D
secondary
#382E8E
accent
#38F04B
background
#F8F8F4
surface
#EFEFE7
border
#CACAC3
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4C530D

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

Preview Lab → · Contrast checker → · Palette generator →

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