#574812#574812

#574812 is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.6% C 0.073 H 92.9°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#574812
RGBrgb(87, 72, 18)
HSLhsl(47, 66%, 21%)
HSVhsv(47, 79%, 34%)
CMYKcmyk(0%, 17.2%, 79.3%, 65.9%)
CIE-LABlab(31.13, -0.16, 32.97)
CIE-LCHlch(31.13, 32.97, 90.29°)
OKLaboklab(40.63% -0.0037 0.0729)
OKLCHoklch(40.63% 0.073 92.9)
XYZxyz(6.3574, 6.7050, 1.5315)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#574812 #122157
analogous
#572612 #574812 #435712
triadic
#574812 #125748 #481257
tetradic
#574812 #125726 #122157 #571243
square
#574812 #125726 #122157 #571243
split-complementary
#574812 #124357 #261257
monochromatic
#191505 #241E08 #574812 #8A721C #BC9C27

Accessibility & contrast

On white

8.97
#574812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#574812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #574812
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##574812#FFFFFF#000000##FFFFFF
##5748121.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514709
Deuteranopia (green-blind)
#544B15
Tritanopia (blue-blind)
#5F423D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #574812;
/* rgb */ color: rgb(87, 72, 18);
/* oklch */ color: oklch(40.6% 0.073 92.9);
Tailwind
colors: {
  custom: {
    50: '#897a54',
    500: '#574812',
    950: '#000000',
  },
}
SCSS
$custom: #574812;
$custom-light: #897a54;
$custom-dark: #000000;
JSON
{
  "hex": "#574812",
  "rgb": {
    "r": 87,
    "g": 72,
    "b": 18
  },
  "hsl": {
    "h": 46.957,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40625,
    "c": 0.07304,
    "h": 92.9
  },
  "luminance": 0.06705
}

Semantic roles & 50–950 ramp

primary
#574812
secondary
#354990
accent
#64E93F
background
#F8F7F4
surface
#F0EDE8
border
#CBC8C4
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #574812

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

Preview Lab → · Contrast checker → · Palette generator →

#574812 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva