#51570F#51570F

#51570F is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 43.7% C 0.091 H 114.4°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#51570F
RGBrgb(81, 87, 15)
HSLhsl(65, 71%, 20%)
HSVhsv(65, 83%, 34%)
CMYKcmyk(6.9%, 0%, 82.8%, 65.9%)
CIE-LABlab(35.20, -12.24, 37.82)
CIE-LCHlch(35.20, 39.75, 107.94°)
OKLaboklab(43.72% -0.0377 0.0828)
OKLCHoklch(43.72% 0.091 114.4)
XYZxyz(6.8880, 8.6003, 1.7490)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51570F #150F57
analogous
#57390F #51570F #2D570F
triadic
#51570F #0F5157 #570F51
tetradic
#51570F #0F5739 #150F57 #570F2D
square
#51570F #0F5739 #150F57 #570F2D
split-complementary
#51570F #0F2D57 #390F57
monochromatic
#181A05 #202306 #51570F #828B18 #B2BF21

Accessibility & contrast

On white

7.72
#51570F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#51570F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51570F
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51570F#FFFFFF#000000##FFFFFF
##51570F1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5200
Deuteranopia (green-blind)
#5E5315
Tritanopia (blue-blind)
#57514A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #51570f;
/* rgb */ color: rgb(81, 87, 15);
/* oklch */ color: oklch(43.7% 0.091 114.4);
Tailwind
colors: {
  custom: {
    50: '#848654',
    500: '#51570f',
    950: '#000000',
  },
}
SCSS
$custom: #51570f;
$custom-light: #848654;
$custom-dark: #000000;
JSON
{
  "hex": "#51570f",
  "rgb": {
    "r": 81,
    "g": 87,
    "b": 15
  },
  "hsl": {
    "h": 65,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.43721,
    "c": 0.091,
    "h": 114.4
  },
  "luminance": 0.086
}

Semantic roles & 50–950 ramp

primary
#51570F
secondary
#393191
accent
#3AED49
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #51570F

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

Preview Lab → · Contrast checker → · Palette generator →

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