#574912#574912

#574912 is a dark, moderate yellow. Relative luminance 0.068; OKLCH L 40.9% C 0.074 H 94.3°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#574912
RGBrgb(87, 73, 18)
HSLhsl(48, 66%, 21%)
HSVhsv(48, 79%, 34%)
CMYKcmyk(0%, 16.1%, 79.3%, 65.9%)
CIE-LABlab(31.43, -0.78, 33.27)
CIE-LCHlch(31.43, 33.28, 91.35°)
OKLaboklab(40.86% -0.0055 0.0736)
OKLCHoklch(40.86% 0.074 94.3)
XYZxyz(6.4225, 6.8354, 1.5532)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#574912 #122057
analogous
#572612 #574912 #425712
triadic
#574912 #125749 #491257
tetradic
#574912 #125726 #122057 #571242
square
#574912 #125726 #122057 #571242
split-complementary
#574912 #124257 #261257
monochromatic
#191505 #241E08 #574912 #8A741C #BC9E27

Accessibility & contrast

On white

8.87
#574912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#574912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #574912
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##574912#FFFFFF#000000##FFFFFF
##5749121.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524709
Deuteranopia (green-blind)
#554C15
Tritanopia (blue-blind)
#5F433E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #574912;
/* rgb */ color: rgb(87, 73, 18);
/* oklch */ color: oklch(40.9% 0.074 94.3);
Tailwind
colors: {
  custom: {
    50: '#897b54',
    500: '#574912',
    950: '#000000',
  },
}
SCSS
$custom: #574912;
$custom-light: #897b54;
$custom-dark: #000000;
JSON
{
  "hex": "#574912",
  "rgb": {
    "r": 87,
    "g": 73,
    "b": 18
  },
  "hsl": {
    "h": 47.826,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40864,
    "c": 0.07378,
    "h": 94.3
  },
  "luminance": 0.06835
}

Semantic roles & 50–950 ramp

primary
#574912
secondary
#354890
accent
#62E93F
background
#F8F7F5
surface
#F0EDE8
border
#CBC8C4
text
#0C0903
muted
#7D7B78

Preview Lab

Preview with #574912

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

Preview Lab → · Contrast checker → · Palette generator →

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