#574E12#574E12

#574E12 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 42.1% C 0.078 H 100.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#574E12
RGBrgb(87, 78, 18)
HSLhsl(52, 66%, 21%)
HSVhsv(52, 79%, 34%)
CMYKcmyk(0%, 10.3%, 79.3%, 65.9%)
CIE-LABlab(32.96, -3.83, 34.75)
CIE-LCHlch(32.96, 34.96, 96.29°)
OKLaboklab(42.08% -0.0142 0.0767)
OKLCHoklch(42.08% 0.078 100.5)
XYZxyz(6.7644, 7.5190, 1.6672)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#574E12 #121B57
analogous
#572B12 #574E12 #3D5712
triadic
#574E12 #12574E #4E1257
tetradic
#574E12 #12572B #121B57 #57123D
square
#574E12 #12572B #121B57 #57123D
split-complementary
#574E12 #123D57 #2B1257
monochromatic
#191705 #242108 #574E12 #8A7B1C #BCA927

Accessibility & contrast

On white

8.39
#574E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#574E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #574E12
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##574E12#FFFFFF#000000##FFFFFF
##574E121.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C08
Deuteranopia (green-blind)
#594F16
Tritanopia (blue-blind)
#5E4842
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #574e12;
/* rgb */ color: rgb(87, 78, 18);
/* oklch */ color: oklch(42.1% 0.078 100.5);
Tailwind
colors: {
  custom: {
    50: '#897f55',
    500: '#574e12',
    950: '#000000',
  },
}
SCSS
$custom: #574e12;
$custom-light: #897f55;
$custom-dark: #000000;
JSON
{
  "hex": "#574e12",
  "rgb": {
    "r": 87,
    "g": 78,
    "b": 18
  },
  "hsl": {
    "h": 52.174,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42077,
    "c": 0.07801,
    "h": 100.5
  },
  "luminance": 0.07519
}

Semantic roles & 50–950 ramp

primary
#574E12
secondary
#354190
accent
#55E93F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #574E12

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

Preview Lab → · Contrast checker → · Palette generator →

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