#574A1F#574A1F

#574A1F is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 41.2% C 0.063 H 92.6°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#574A1F
RGBrgb(87, 74, 31)
HSLhsl(46, 47%, 23%)
HSVhsv(46, 64%, 34%)
CMYKcmyk(0%, 14.9%, 64.4%, 65.9%)
CIE-LABlab(31.86, -0.50, 27.21)
CIE-LCHlch(31.86, 27.21, 91.05°)
OKLaboklab(41.25% -0.0029 0.0631)
OKLCHoklch(41.25% 0.063 92.6)
XYZxyz(6.6269, 7.0231, 2.3026)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#574A1F #1F2C57
analogous
#572E1F #574A1F #48571F
triadic
#574A1F #1F574A #4A1F57
tetradic
#574A1F #1F572E #1F2C57 #571F48
square
#574A1F #1F572E #1F2C57 #571F48
split-complementary
#574A1F #1F4857 #2E1F57
monochromatic
#171308 #2A240F #574A1F #84702F #B1973F

Accessibility & contrast

On white

8.73
#574A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#574A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #574A1F
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##574A1F#FFFFFF#000000##FFFFFF
##574A1F1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491B
Deuteranopia (green-blind)
#554D21
Tritanopia (blue-blind)
#5E4440
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #574a1f;
/* rgb */ color: rgb(87, 74, 31);
/* oklch */ color: oklch(41.2% 0.063 92.6);
Tailwind
colors: {
  custom: {
    50: '#887c5c',
    500: '#574a1f',
    950: '#000000',
  },
}
SCSS
$custom: #574a1f;
$custom-light: #887c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#574a1f",
  "rgb": {
    "r": 87,
    "g": 74,
    "b": 31
  },
  "hsl": {
    "h": 46.071,
    "s": 47.458,
    "l": 23.137
  },
  "oklch": {
    "l": 0.41245,
    "c": 0.06316,
    "h": 92.6
  },
  "luminance": 0.07023
}

Semantic roles & 50–950 ramp

primary
#574A1F
secondary
#46568C
accent
#70D751
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0904
muted
#7D7B79

Preview Lab

Preview with #574A1F

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

Preview Lab → · Contrast checker → · Palette generator →

#574A1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva