#575118#575118

#575118 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.9% C 0.076 H 103.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#575118
RGBrgb(87, 81, 24)
HSLhsl(54, 57%, 22%)
HSVhsv(54, 72%, 34%)
CMYKcmyk(0%, 6.9%, 72.4%, 65.9%)
CIE-LABlab(33.94, -5.28, 33.04)
CIE-LCHlch(33.94, 33.46, 99.07°)
OKLaboklab(42.87% -0.0175 0.0743)
OKLCHoklch(42.87% 0.076 103.3)
XYZxyz(7.0381, 7.9773, 2.0330)
Luminance0.0798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#575118 #181E57
analogous
#573218 #575118 #3E5718
triadic
#575118 #185751 #511857
tetradic
#575118 #185732 #181E57 #57183E
square
#575118 #185732 #181E57 #57183E
split-complementary
#575118 #183E57 #321857
monochromatic
#181607 #27240B #575118 #877E25 #B7AA32

Accessibility & contrast

On white

8.09
#575118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#575118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #575118
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##575118#FFFFFF#000000##FFFFFF
##5751181.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E10
Deuteranopia (green-blind)
#5B511B
Tritanopia (blue-blind)
#5E4B45
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #575118;
/* rgb */ color: rgb(87, 81, 24);
/* oklch */ color: oklch(42.9% 0.076 103.3);
Tailwind
colors: {
  custom: {
    50: '#898158',
    500: '#575118',
    950: '#000000',
  },
}
SCSS
$custom: #575118;
$custom-light: #898158;
$custom-dark: #000000;
JSON
{
  "hex": "#575118",
  "rgb": {
    "r": 87,
    "g": 81,
    "b": 24
  },
  "hsl": {
    "h": 54.286,
    "s": 56.757,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42867,
    "c": 0.07635,
    "h": 103.3
  },
  "luminance": 0.07977
}

Semantic roles & 50–950 ramp

primary
#575118
secondary
#3D458E
accent
#56E048
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #575118

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

Preview Lab → · Contrast checker → · Palette generator →

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