#4F570C#4F570C

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

Color values

HEX#4F570C
RGBrgb(79, 87, 12)
HSLhsl(66, 76%, 19%)
HSVhsv(66, 86%, 34%)
CMYKcmyk(9.2%, 0%, 86.2%, 65.9%)
CIE-LABlab(35.01, -13.35, 38.60)
CIE-LCHlch(35.01, 40.84, 109.08°)
OKLaboklab(43.52% -0.0409 0.084)
OKLCHoklch(43.52% 0.093 115.9)
XYZxyz(6.6992, 8.5053, 1.6365)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F570C #140C57
analogous
#573A0C #4F570C #2A570C
triadic
#4F570C #0C4F57 #570C4F
tetradic
#4F570C #0C573A #140C57 #570C2A
square
#4F570C #0C573A #140C57 #570C2A
split-complementary
#4F570C #0C2A57 #3A0C57
monochromatic
#181B04 #1E2105 #4F570C #808D13 #B1C31B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F570C#FFFFFF#000000##FFFFFF
##4F570C1.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)
#5D5313
Tritanopia (blue-blind)
#555149
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f570c;
/* rgb */ color: rgb(79, 87, 12);
/* oklch */ color: oklch(43.5% 0.093 115.9);
Tailwind
colors: {
  custom: {
    50: '#838653',
    500: '#4f570c',
    950: '#000000',
  },
}
SCSS
$custom: #4f570c;
$custom-light: #838653;
$custom-dark: #000000;
JSON
{
  "hex": "#4f570c",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 12
  },
  "hsl": {
    "h": 66.4,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.43521,
    "c": 0.09339,
    "h": 115.9
  },
  "luminance": 0.08505
}

Semantic roles & 50–950 ramp

primary
#4F570C
secondary
#382D92
accent
#35F24A
background
#F8F8F4
surface
#EFEFE8
border
#CACAC4
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F570C

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

Preview Lab → · Contrast checker → · Palette generator →

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