#4F570D#4F570D

#4F570D is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.5% C 0.093 H 116.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#4F570D
RGBrgb(79, 87, 13)
HSLhsl(66, 74%, 20%)
HSVhsv(66, 85%, 34%)
CMYKcmyk(9.2%, 0%, 85.1%, 65.9%)
CIE-LABlab(35.02, -13.31, 38.28)
CIE-LCHlch(35.02, 40.52, 109.17°)
OKLaboklab(43.53% -0.0406 0.0835)
OKLCHoklch(43.53% 0.093 116)
XYZxyz(6.7055, 8.5078, 1.6696)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F570D #150D57
analogous
#573A0D #4F570D #2A570D
triadic
#4F570D #0D4F57 #570D4F
tetradic
#4F570D #0D573A #150D57 #570D2A
square
#4F570D #0D573A #150D57 #570D2A
split-complementary
#4F570D #0D2A57 #3A0D57
monochromatic
#181B04 #1F2205 #4F570D #7F8C15 #B0C11D

Accessibility & contrast

On white

7.77
#4F570D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4F570D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F570D
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F570D#FFFFFF#000000##FFFFFF
##4F570D1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f570d;
/* rgb */ color: rgb(79, 87, 13);
/* oklch */ color: oklch(43.5% 0.093 116.0);
Tailwind
colors: {
  custom: {
    50: '#838653',
    500: '#4f570d',
    950: '#000000',
  },
}
SCSS
$custom: #4f570d;
$custom-light: #838653;
$custom-dark: #000000;
JSON
{
  "hex": "#4f570d",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 13
  },
  "hsl": {
    "h": 66.486,
    "s": 74,
    "l": 19.608
  },
  "oklch": {
    "l": 0.43527,
    "c": 0.09286,
    "h": 116
  },
  "luminance": 0.08508
}

Semantic roles & 50–950 ramp

primary
#4F570D
secondary
#392E92
accent
#37F14B
background
#F8F8F5
surface
#EFEFE8
border
#CACAC4
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F570D

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

Preview Lab → · Contrast checker → · Palette generator →

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