#574F12#574F12

#574F12 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.3% C 0.079 H 101.6°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#574F12
RGBrgb(87, 79, 18)
HSLhsl(53, 66%, 21%)
HSVhsv(53, 79%, 34%)
CMYKcmyk(0%, 9.2%, 79.3%, 65.9%)
CIE-LABlab(33.27, -4.43, 35.05)
CIE-LCHlch(33.27, 35.33, 97.21°)
OKLaboklab(42.32% -0.0159 0.0773)
OKLCHoklch(42.32% 0.079 101.6)
XYZxyz(6.8360, 7.6622, 1.6910)
Luminance0.0766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#574F12 #121A57
analogous
#572C12 #574F12 #3C5712
triadic
#574F12 #12574F #4F1257
tetradic
#574F12 #12572C #121A57 #57123C
square
#574F12 #12572C #121A57 #57123C
split-complementary
#574F12 #123C57 #2C1257
monochromatic
#191705 #242108 #574F12 #8A7D1C #BCAB27

Accessibility & contrast

On white

8.29
#574F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#574F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #574F12
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##574F12#FFFFFF#000000##FFFFFF
##574F121.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C07
Deuteranopia (green-blind)
#595016
Tritanopia (blue-blind)
#5E4943
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #574f12;
/* rgb */ color: rgb(87, 79, 18);
/* oklch */ color: oklch(42.3% 0.079 101.6);
Tailwind
colors: {
  custom: {
    50: '#898055',
    500: '#574f12',
    950: '#000000',
  },
}
SCSS
$custom: #574f12;
$custom-light: #898055;
$custom-dark: #000000;
JSON
{
  "hex": "#574f12",
  "rgb": {
    "r": 87,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 53.043,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42322,
    "c": 0.07895,
    "h": 101.6
  },
  "luminance": 0.07662
}

Semantic roles & 50–950 ramp

primary
#574F12
secondary
#354090
accent
#53E93F
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #574F12

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

Preview Lab → · Contrast checker → · Palette generator →

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