#4D570C#4D570C

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

Color values

HEX#4D570C
RGBrgb(77, 87, 12)
HSLhsl(68, 76%, 19%)
HSVhsv(68, 86%, 34%)
CMYKcmyk(11.5%, 0%, 86.2%, 65.9%)
CIE-LABlab(34.84, -14.32, 38.38)
CIE-LCHlch(34.84, 40.97, 110.46°)
OKLaboklab(43.34% -0.0434 0.0836)
OKLCHoklch(43.34% 0.094 117.4)
XYZxyz(6.5353, 8.4208, 1.6289)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D570C #160C57
analogous
#573C0C #4D570C #28570C
triadic
#4D570C #0C4D57 #570C4D
tetradic
#4D570C #0C573C #160C57 #570C28
square
#4D570C #0C573C #160C57 #570C28
split-complementary
#4D570C #0C2857 #3C0C57
monochromatic
#181B04 #1D2105 #4D570C #7D8D13 #ACC31B

Accessibility & contrast

On white

7.82
#4D570C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D570C
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D570C#FFFFFF#000000##FFFFFF
##4D570C1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5200
Deuteranopia (green-blind)
#5D5214
Tritanopia (blue-blind)
#525249
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d570c;
/* rgb */ color: rgb(77, 87, 12);
/* oklch */ color: oklch(43.3% 0.094 117.4);
Tailwind
colors: {
  custom: {
    50: '#828653',
    500: '#4d570c',
    950: '#000000',
  },
}
SCSS
$custom: #4d570c;
$custom-light: #828653;
$custom-dark: #000000;
JSON
{
  "hex": "#4d570c",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 12
  },
  "hsl": {
    "h": 68,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.43343,
    "c": 0.0942,
    "h": 117.4
  },
  "luminance": 0.08421
}

Semantic roles & 50–950 ramp

primary
#4D570C
secondary
#3A2D92
accent
#35F24F
background
#F8F8F4
surface
#EFEFE8
border
#CACAC4
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D570C

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

Preview Lab → · Contrast checker → · Palette generator →

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