#565D12#565D12

#565D12 is a mid, moderate yellow. Relative luminance 0.099; OKLCH L 45.7% C 0.095 H 114.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#565D12
RGBrgb(86, 93, 18)
HSLhsl(66, 68%, 22%)
HSVhsv(66, 81%, 36%)
CMYKcmyk(7.5%, 0%, 80.6%, 63.5%)
CIE-LABlab(37.57, -13.07, 39.08)
CIE-LCHlch(37.57, 41.21, 108.49°)
OKLaboklab(45.74% -0.04 0.0859)
OKLCHoklch(45.74% 0.095 114.9)
XYZxyz(7.8615, 9.8509, 2.0594)
Luminance0.0985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565D12 #19125D
analogous
#5D3F12 #565D12 #315D12
triadic
#565D12 #12565D #5D1256
tetradic
#565D12 #125D3F #19125D #5D1231
square
#565D12 #125D3F #19125D #5D1231
split-complementary
#565D12 #12315D #3F125D
monochromatic
#181A05 #272A08 #565D12 #85901C #B5C426

Accessibility & contrast

On white

7.07
#565D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#565D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565D12
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565D12#FFFFFF#000000##FFFFFF
##565D121.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645802
Deuteranopia (green-blind)
#645919
Tritanopia (blue-blind)
#5C574F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #565d12;
/* rgb */ color: rgb(86, 93, 18);
/* oklch */ color: oklch(45.7% 0.095 114.9);
Tailwind
colors: {
  custom: {
    50: '#888a57',
    500: '#565d12',
    950: '#000000',
  },
}
SCSS
$custom: #565d12;
$custom-light: #888a57;
$custom-dark: #000000;
JSON
{
  "hex": "#565d12",
  "rgb": {
    "r": 86,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 65.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.45737,
    "c": 0.09476,
    "h": 114.9
  },
  "luminance": 0.09851
}

Semantic roles & 50–950 ramp

primary
#565D12
secondary
#3E3595
accent
#3DEA4E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #565D12

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

Preview Lab → · Contrast checker → · Palette generator →

#565D12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva