#51560F#51560F

#51560F is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.5% C 0.090 H 113.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#51560F
RGBrgb(81, 86, 15)
HSLhsl(64, 70%, 20%)
HSVhsv(64, 83%, 34%)
CMYKcmyk(5.8%, 0%, 82.6%, 66.3%)
CIE-LABlab(34.88, -11.67, 37.52)
CIE-LCHlch(34.88, 39.30, 107.28°)
OKLaboklab(43.46% -0.0361 0.0822)
OKLCHoklch(43.46% 0.09 113.7)
XYZxyz(6.8076, 8.4395, 1.7222)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51560F #140F56
analogous
#56370F #51560F #2E560F
triadic
#51560F #0F5156 #560F51
tetradic
#51560F #0F5637 #140F56 #560F2E
square
#51560F #0F5637 #140F56 #560F2E
split-complementary
#51560F #0F2E56 #370F56
monochromatic
#191A05 #202206 #51560F #828A18 #B3BE21

Accessibility & contrast

On white

7.81
#51560F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#51560F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51560F
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51560F#FFFFFF#000000##FFFFFF
##51560F1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5101
Deuteranopia (green-blind)
#5D5315
Tritanopia (blue-blind)
#575049
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #51560f;
/* rgb */ color: rgb(81, 86, 15);
/* oklch */ color: oklch(43.5% 0.090 113.7);
Tailwind
colors: {
  custom: {
    50: '#848554',
    500: '#51560f',
    950: '#000000',
  },
}
SCSS
$custom: #51560f;
$custom-light: #848554;
$custom-dark: #000000;
JSON
{
  "hex": "#51560f",
  "rgb": {
    "r": 81,
    "g": 86,
    "b": 15
  },
  "hsl": {
    "h": 64.225,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.43464,
    "c": 0.08978,
    "h": 113.7
  },
  "luminance": 0.08439
}

Semantic roles & 50–950 ramp

primary
#51560F
secondary
#383190
accent
#3BED47
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #51560F

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

Preview Lab → · Contrast checker → · Palette generator →

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