#4D570D#4D570D

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

Color values

HEX#4D570D
RGBrgb(77, 87, 13)
HSLhsl(68, 74%, 20%)
HSVhsv(68, 85%, 34%)
CMYKcmyk(11.5%, 0%, 85.1%, 65.9%)
CIE-LABlab(34.85, -14.27, 38.06)
CIE-LCHlch(34.85, 40.65, 110.56°)
OKLaboklab(43.35% -0.0432 0.0831)
OKLCHoklch(43.35% 0.094 117.5)
XYZxyz(6.5416, 8.4233, 1.6619)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D570D #170D57
analogous
#573C0D #4D570D #28570D
triadic
#4D570D #0D4D57 #570D4D
tetradic
#4D570D #0D573C #170D57 #570D28
square
#4D570D #0D573C #170D57 #570D28
split-complementary
#4D570D #0D2857 #3C0D57
monochromatic
#181B04 #1E2205 #4D570D #7C8C15 #ABC11D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D570D#FFFFFF#000000##FFFFFF
##4D570D1.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: #4d570d;
/* rgb */ color: rgb(77, 87, 13);
/* oklch */ color: oklch(43.3% 0.094 117.5);
Tailwind
colors: {
  custom: {
    50: '#818653',
    500: '#4d570d',
    950: '#000000',
  },
}
SCSS
$custom: #4d570d;
$custom-light: #818653;
$custom-dark: #000000;
JSON
{
  "hex": "#4d570d",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 13
  },
  "hsl": {
    "h": 68.108,
    "s": 74,
    "l": 19.608
  },
  "oklch": {
    "l": 0.43348,
    "c": 0.09368,
    "h": 117.5
  },
  "luminance": 0.08423
}

Semantic roles & 50–950 ramp

primary
#4D570D
secondary
#3C2E92
accent
#37F150
background
#F8F8F5
surface
#EFEFE8
border
#CACAC4
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D570D

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

Preview Lab → · Contrast checker → · Palette generator →

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