#4F570F#4F570F

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

Color values

HEX#4F570F
RGBrgb(79, 87, 15)
HSLhsl(67, 71%, 20%)
HSVhsv(67, 83%, 34%)
CMYKcmyk(9.2%, 0%, 82.8%, 65.9%)
CIE-LABlab(35.03, -13.21, 37.60)
CIE-LCHlch(35.03, 39.85, 109.37°)
OKLaboklab(43.54% -0.0402 0.0825)
OKLCHoklch(43.54% 0.092 116)
XYZxyz(6.7191, 8.5132, 1.7411)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F570F #170F57
analogous
#573B0F #4F570F #2B570F
triadic
#4F570F #0F4F57 #570F4F
tetradic
#4F570F #0F573B #170F57 #570F2B
square
#4F570F #0F573B #170F57 #570F2B
split-complementary
#4F570F #0F2B57 #3B0F57
monochromatic
#181A05 #202306 #4F570F #7E8B18 #AEBF21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F570F#FFFFFF#000000##FFFFFF
##4F570F1.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)
#5D5316
Tritanopia (blue-blind)
#55514A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f570f;
/* rgb */ color: rgb(79, 87, 15);
/* oklch */ color: oklch(43.5% 0.092 116.0);
Tailwind
colors: {
  custom: {
    50: '#838654',
    500: '#4f570f',
    950: '#000000',
  },
}
SCSS
$custom: #4f570f;
$custom-light: #838654;
$custom-dark: #000000;
JSON
{
  "hex": "#4f570f",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 15
  },
  "hsl": {
    "h": 66.667,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.43539,
    "c": 0.09174,
    "h": 116
  },
  "luminance": 0.08513
}

Semantic roles & 50–950 ramp

primary
#4F570F
secondary
#3C3191
accent
#3AED4E
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F570F

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

Preview Lab → · Contrast checker → · Palette generator →

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