#574F18#574F18

#574F18 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.4% C 0.074 H 101.0°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#574F18
RGBrgb(87, 79, 24)
HSLhsl(52, 57%, 22%)
HSVhsv(52, 72%, 34%)
CMYKcmyk(0%, 9.2%, 72.4%, 65.9%)
CIE-LABlab(33.32, -4.08, 32.40)
CIE-LCHlch(33.32, 32.65, 97.17°)
OKLaboklab(42.38% -0.0141 0.073)
OKLCHoklch(42.38% 0.074 101)
XYZxyz(6.8916, 7.6844, 1.9842)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#574F18 #182057
analogous
#573018 #574F18 #405718
triadic
#574F18 #18574F #4F1857
tetradic
#574F18 #185730 #182057 #571840
square
#574F18 #185730 #182057 #571840
split-complementary
#574F18 #184057 #301857
monochromatic
#181607 #27230B #574F18 #877B25 #B7A632

Accessibility & contrast

On white

8.28
#574F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#574F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #574F18
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##574F18#FFFFFF#000000##FFFFFF
##574F181.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D11
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#5E4944
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #574f18;
/* rgb */ color: rgb(87, 79, 24);
/* oklch */ color: oklch(42.4% 0.074 101.0);
Tailwind
colors: {
  custom: {
    50: '#898058',
    500: '#574f18',
    950: '#000000',
  },
}
SCSS
$custom: #574f18;
$custom-light: #898058;
$custom-dark: #000000;
JSON
{
  "hex": "#574f18",
  "rgb": {
    "r": 87,
    "g": 79,
    "b": 24
  },
  "hsl": {
    "h": 52.381,
    "s": 56.757,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42376,
    "c": 0.07431,
    "h": 101
  },
  "luminance": 0.07684
}

Semantic roles & 50–950 ramp

primary
#574F18
secondary
#3D478E
accent
#5BE048
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #574F18

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

Preview Lab → · Contrast checker → · Palette generator →

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