#4C570F#4C570F

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

Color values

HEX#4C570F
RGBrgb(76, 87, 15)
HSLhsl(69, 71%, 20%)
HSVhsv(69, 83%, 34%)
CMYKcmyk(12.6%, 0%, 82.8%, 65.9%)
CIE-LABlab(34.78, -14.66, 37.27)
CIE-LCHlch(34.78, 40.05, 111.47°)
OKLaboklab(43.27% -0.044 0.0819)
OKLCHoklch(43.27% 0.093 118.3)
XYZxyz(6.4751, 8.3874, 1.7297)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C570F #1A0F57
analogous
#573E0F #4C570F #28570F
triadic
#4C570F #0F4C57 #570F4C
tetradic
#4C570F #0F573E #1A0F57 #570F28
square
#4C570F #0F573E #1A0F57 #570F28
split-complementary
#4C570F #0F2857 #3E0F57
monochromatic
#171A05 #1E2306 #4C570F #7A8B18 #A7BF21

Accessibility & contrast

On white

7.84
#4C570F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C570F
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C570F#FFFFFF#000000##FFFFFF
##4C570F1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5201
Deuteranopia (green-blind)
#5C5216
Tritanopia (blue-blind)
#51524A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4c570f;
/* rgb */ color: rgb(76, 87, 15);
/* oklch */ color: oklch(43.3% 0.093 118.3);
Tailwind
colors: {
  custom: {
    50: '#818654',
    500: '#4c570f',
    950: '#000000',
  },
}
SCSS
$custom: #4c570f;
$custom-light: #818654;
$custom-dark: #000000;
JSON
{
  "hex": "#4c570f",
  "rgb": {
    "r": 76,
    "g": 87,
    "b": 15
  },
  "hsl": {
    "h": 69.167,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.43273,
    "c": 0.09295,
    "h": 118.3
  },
  "luminance": 0.08387
}

Semantic roles & 50–950 ramp

primary
#4C570F
secondary
#403191
accent
#3AED56
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4C570F

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

Preview Lab → · Contrast checker → · Palette generator →

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