#54570F#54570F

#54570F is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 44.0% C 0.090 H 112.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#54570F
RGBrgb(84, 87, 15)
HSLhsl(63, 71%, 20%)
HSVhsv(63, 83%, 34%)
CMYKcmyk(3.4%, 0%, 82.8%, 65.9%)
CIE-LABlab(35.47, -10.78, 38.16)
CIE-LCHlch(35.47, 39.65, 105.77°)
OKLaboklab(44% -0.0338 0.0834)
OKLCHoklch(44% 0.09 112)
XYZxyz(7.1508, 8.7359, 1.7614)
Luminance0.0874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54570F #120F57
analogous
#57360F #54570F #30570F
triadic
#54570F #0F5457 #570F54
tetradic
#54570F #0F5736 #120F57 #570F30
square
#54570F #0F5736 #120F57 #570F30
split-complementary
#54570F #0F3057 #360F57
monochromatic
#191A05 #222306 #54570F #868B18 #B9BF21

Accessibility & contrast

On white

7.64
#54570F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#54570F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #54570F
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54570F#FFFFFF#000000##FFFFFF
##54570F1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5300
Deuteranopia (green-blind)
#5F5415
Tritanopia (blue-blind)
#5A514A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #54570f;
/* rgb */ color: rgb(84, 87, 15);
/* oklch */ color: oklch(44.0% 0.090 112.0);
Tailwind
colors: {
  custom: {
    50: '#878654',
    500: '#54570f',
    950: '#000000',
  },
}
SCSS
$custom: #54570f;
$custom-light: #878654;
$custom-dark: #000000;
JSON
{
  "hex": "#54570f",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 15
  },
  "hsl": {
    "h": 62.5,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.44002,
    "c": 0.09001,
    "h": 112
  },
  "luminance": 0.08736
}

Semantic roles & 50–950 ramp

primary
#54570F
secondary
#353191
accent
#3AED42
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #54570F

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

Preview Lab → · Contrast checker → · Palette generator →

#54570F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva