#574B12#574B12

#574B12 is a dark, moderate yellow. Relative luminance 0.071; OKLCH L 41.3% C 0.075 H 96.9°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#574B12
RGBrgb(87, 75, 18)
HSLhsl(50, 66%, 21%)
HSVhsv(50, 79%, 34%)
CMYKcmyk(0%, 13.8%, 79.3%, 65.9%)
CIE-LABlab(32.04, -2.01, 33.86)
CIE-LCHlch(32.04, 33.92, 93.39°)
OKLaboklab(41.35% -0.009 0.0748)
OKLCHoklch(41.35% 0.075 96.9)
XYZxyz(6.5561, 7.1024, 1.5977)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#574B12 #121E57
analogous
#572812 #574B12 #405712
triadic
#574B12 #12574B #4B1257
tetradic
#574B12 #125728 #121E57 #571240
square
#574B12 #125728 #121E57 #571240
split-complementary
#574B12 #124057 #281257
monochromatic
#191605 #241F08 #574B12 #8A771C #BCA227

Accessibility & contrast

On white

8.68
#574B12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#574B12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #574B12
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##574B12#FFFFFF#000000##FFFFFF
##574B121.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534909
Deuteranopia (green-blind)
#574D15
Tritanopia (blue-blind)
#5E4540
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #574b12;
/* rgb */ color: rgb(87, 75, 18);
/* oklch */ color: oklch(41.3% 0.075 96.9);
Tailwind
colors: {
  custom: {
    50: '#897d54',
    500: '#574b12',
    950: '#000000',
  },
}
SCSS
$custom: #574b12;
$custom-light: #897d54;
$custom-dark: #000000;
JSON
{
  "hex": "#574b12",
  "rgb": {
    "r": 87,
    "g": 75,
    "b": 18
  },
  "hsl": {
    "h": 49.565,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41347,
    "c": 0.07536,
    "h": 96.9
  },
  "luminance": 0.07102
}

Semantic roles & 50–950 ramp

primary
#574B12
secondary
#354590
accent
#5DE93F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #574B12

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

Preview Lab → · Contrast checker → · Palette generator →

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