#574C12#574C12

#574C12 is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.6% C 0.076 H 98.1°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#574C12
RGBrgb(87, 76, 18)
HSLhsl(50, 66%, 21%)
HSVhsv(50, 79%, 34%)
CMYKcmyk(0%, 12.6%, 79.3%, 65.9%)
CIE-LABlab(32.35, -2.62, 34.16)
CIE-LCHlch(32.35, 34.26, 94.38°)
OKLaboklab(41.59% -0.0107 0.0755)
OKLCHoklch(41.59% 0.076 98.1)
XYZxyz(6.6244, 7.2391, 1.6205)
Luminance0.0724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#574C12 #121D57
analogous
#572912 #574C12 #3F5712
triadic
#574C12 #12574C #4C1257
tetradic
#574C12 #125729 #121D57 #57123F
square
#574C12 #125729 #121D57 #57123F
split-complementary
#574C12 #123F57 #291257
monochromatic
#191605 #242008 #574C12 #8A781C #BCA527

Accessibility & contrast

On white

8.58
#574C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#574C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #574C12
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##574C12#FFFFFF#000000##FFFFFF
##574C121.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A08
Deuteranopia (green-blind)
#574E16
Tritanopia (blue-blind)
#5E4641
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #574c12;
/* rgb */ color: rgb(87, 76, 18);
/* oklch */ color: oklch(41.6% 0.076 98.1);
Tailwind
colors: {
  custom: {
    50: '#897d54',
    500: '#574c12',
    950: '#000000',
  },
}
SCSS
$custom: #574c12;
$custom-light: #897d54;
$custom-dark: #000000;
JSON
{
  "hex": "#574c12",
  "rgb": {
    "r": 87,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 50.435,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41589,
    "c": 0.07621,
    "h": 98.1
  },
  "luminance": 0.07239
}

Semantic roles & 50–950 ramp

primary
#574C12
secondary
#354490
accent
#5AE93F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #574C12

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

Preview Lab → · Contrast checker → · Palette generator →

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