#565127#565127

#565127 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 43.0% C 0.061 H 102.5°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#565127
RGBrgb(86, 81, 39)
HSLhsl(54, 38%, 25%)
HSVhsv(54, 55%, 34%)
CMYKcmyk(0%, 5.8%, 54.7%, 66.3%)
CIE-LABlab(34.00, -4.50, 25.22)
CIE-LCHlch(34.00, 25.61, 100.11°)
OKLaboklab(42.95% -0.0133 0.0598)
OKLCHoklch(42.95% 0.061 102.5)
XYZxyz(7.1466, 8.0100, 3.0887)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565127 #272C56
analogous
#563A27 #565127 #445627
triadic
#565127 #275651 #512756
tetradic
#565127 #27563A #272C56 #562744
square
#565127 #27563A #272C56 #562744
split-complementary
#565127 #274456 #3A2756
monochromatic
#15140A #2C2914 #565127 #80793A #AAA04D

Accessibility & contrast

On white

8.07
#565127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #565127
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565127#FFFFFF#000000##FFFFFF
##5651271.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F23
Deuteranopia (green-blind)
#595129
Tritanopia (blue-blind)
#5C4C47
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #565127;
/* rgb */ color: rgb(86, 81, 39);
/* oklch */ color: oklch(43.0% 0.061 102.5);
Tailwind
colors: {
  custom: {
    50: '#878162',
    500: '#565127',
    950: '#000000',
  },
}
SCSS
$custom: #565127;
$custom-light: #878162;
$custom-dark: #000000;
JSON
{
  "hex": "#565127",
  "rgb": {
    "r": 86,
    "g": 81,
    "b": 39
  },
  "hsl": {
    "h": 53.617,
    "s": 37.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.42951,
    "c": 0.06123,
    "h": 102.5
  },
  "luminance": 0.0801
}

Semantic roles & 50–950 ramp

primary
#565127
secondary
#505689
accent
#67CE5A
background
#F8F7F5
surface
#F0EEEA
border
#CBC9C6
text
#0B0A05
muted
#7C7C79

Preview Lab

Preview with #565127

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

Preview Lab → · Contrast checker → · Palette generator →

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