#4D570F#4D570F

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

Color values

HEX#4D570F
RGBrgb(77, 87, 15)
HSLhsl(68, 71%, 20%)
HSVhsv(68, 83%, 34%)
CMYKcmyk(11.5%, 0%, 82.8%, 65.9%)
CIE-LABlab(34.86, -14.18, 37.38)
CIE-LCHlch(34.86, 39.98, 110.77°)
OKLaboklab(43.36% -0.0428 0.0821)
OKLCHoklch(43.36% 0.093 117.5)
XYZxyz(6.5551, 8.4287, 1.7334)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D570F #190F57
analogous
#573D0F #4D570F #29570F
triadic
#4D570F #0F4D57 #570F4D
tetradic
#4D570F #0F573D #190F57 #570F29
square
#4D570F #0F573D #190F57 #570F29
split-complementary
#4D570F #0F2957 #3D0F57
monochromatic
#171A05 #1F2306 #4D570F #7B8B18 #A9BF21

Accessibility & contrast

On white

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

On black

2.69
#4D570F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4D570F#FFFFFF#000000##FFFFFF
##4D570F1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d570f;
/* rgb */ color: rgb(77, 87, 15);
/* oklch */ color: oklch(43.4% 0.093 117.5);
Tailwind
colors: {
  custom: {
    50: '#818654',
    500: '#4d570f',
    950: '#000000',
  },
}
SCSS
$custom: #4d570f;
$custom-light: #818654;
$custom-dark: #000000;
JSON
{
  "hex": "#4d570f",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 15
  },
  "hsl": {
    "h": 68.333,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.43361,
    "c": 0.09253,
    "h": 117.5
  },
  "luminance": 0.08429
}

Semantic roles & 50–950 ramp

primary
#4D570F
secondary
#3E3191
accent
#3AED53
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D570F

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

Preview Lab → · Contrast checker → · Palette generator →

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