#4C570C#4C570C

#4C570C is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.3% C 0.095 H 118.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#4C570C
RGBrgb(76, 87, 12)
HSLhsl(69, 76%, 19%)
HSVhsv(69, 86%, 34%)
CMYKcmyk(12.6%, 0%, 86.2%, 65.9%)
CIE-LABlab(34.76, -14.80, 38.28)
CIE-LCHlch(34.76, 41.04, 111.14°)
OKLaboklab(43.26% -0.0447 0.0834)
OKLCHoklch(43.26% 0.095 118.2)
XYZxyz(6.4552, 8.3795, 1.6251)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C570C #170C57
analogous
#573D0C #4C570C #27570C
triadic
#4C570C #0C4C57 #570C4C
tetradic
#4C570C #0C573D #170C57 #570C27
square
#4C570C #0C573D #170C57 #570C27
split-complementary
#4C570C #0C2757 #3D0C57
monochromatic
#171B04 #1D2105 #4C570C #7B8D13 #AAC31B

Accessibility & contrast

On white

7.85
#4C570C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4C570C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C570C
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C570C#FFFFFF#000000##FFFFFF
##4C570C1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5200
Deuteranopia (green-blind)
#5C5214
Tritanopia (blue-blind)
#515249
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4c570c;
/* rgb */ color: rgb(76, 87, 12);
/* oklch */ color: oklch(43.3% 0.095 118.2);
Tailwind
colors: {
  custom: {
    50: '#818653',
    500: '#4c570c',
    950: '#000000',
  },
}
SCSS
$custom: #4c570c;
$custom-light: #818653;
$custom-dark: #000000;
JSON
{
  "hex": "#4c570c",
  "rgb": {
    "r": 76,
    "g": 87,
    "b": 12
  },
  "hsl": {
    "h": 68.8,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.43255,
    "c": 0.09462,
    "h": 118.2
  },
  "luminance": 0.08379
}

Semantic roles & 50–950 ramp

primary
#4C570C
secondary
#3C2D92
accent
#35F251
background
#F8F8F4
surface
#EFEFE8
border
#CACAC4
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4C570C

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

Preview Lab → · Contrast checker → · Palette generator →

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