#574A12#574A12

#574A12 is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 41.1% C 0.075 H 95.6°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#574A12
RGBrgb(87, 74, 18)
HSLhsl(49, 66%, 21%)
HSVhsv(49, 79%, 34%)
CMYKcmyk(0%, 14.9%, 79.3%, 65.9%)
CIE-LABlab(31.73, -1.40, 33.57)
CIE-LCHlch(31.73, 33.59, 92.38°)
OKLaboklab(41.11% -0.0073 0.0742)
OKLCHoklch(41.11% 0.075 95.6)
XYZxyz(6.4888, 6.9678, 1.5753)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#574A12 #121F57
analogous
#572812 #574A12 #415712
triadic
#574A12 #12574A #4A1257
tetradic
#574A12 #125728 #121F57 #571241
square
#574A12 #125728 #121F57 #571241
split-complementary
#574A12 #124157 #281257
monochromatic
#191605 #241F08 #574A12 #8A751C #BCA027

Accessibility & contrast

On white

8.77
#574A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#574A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #574A12
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##574A12#FFFFFF#000000##FFFFFF
##574A121.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524809
Deuteranopia (green-blind)
#564C15
Tritanopia (blue-blind)
#5F443F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #574a12;
/* rgb */ color: rgb(87, 74, 18);
/* oklch */ color: oklch(41.1% 0.075 95.6);
Tailwind
colors: {
  custom: {
    50: '#897c54',
    500: '#574a12',
    950: '#000000',
  },
}
SCSS
$custom: #574a12;
$custom-light: #897c54;
$custom-dark: #000000;
JSON
{
  "hex": "#574a12",
  "rgb": {
    "r": 87,
    "g": 74,
    "b": 18
  },
  "hsl": {
    "h": 48.696,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41105,
    "c": 0.07455,
    "h": 95.6
  },
  "luminance": 0.06967
}

Semantic roles & 50–950 ramp

primary
#574A12
secondary
#354690
accent
#5FE93F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #574A12

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

Preview Lab → · Contrast checker → · Palette generator →

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