#565C12#565C12

#565C12 is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.5% C 0.094 H 114.2°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#565C12
RGBrgb(86, 92, 18)
HSLhsl(65, 67%, 22%)
HSVhsv(65, 80%, 36%)
CMYKcmyk(6.5%, 0%, 80.4%, 63.9%)
CIE-LABlab(37.26, -12.51, 38.78)
CIE-LCHlch(37.26, 40.75, 107.87°)
OKLaboklab(45.48% -0.0384 0.0853)
OKLCHoklch(45.48% 0.094 114.2)
XYZxyz(7.7743, 9.6766, 2.0304)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565C12 #18125C
analogous
#5C3D12 #565C12 #315C12
triadic
#565C12 #12565C #5C1256
tetradic
#565C12 #125C3D #18125C #5C1231
square
#565C12 #125C3D #18125C #5C1231
split-complementary
#565C12 #12315C #3D125C
monochromatic
#181A05 #262908 #565C12 #868F1C #B6C226

Accessibility & contrast

On white

7.15
#565C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#565C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565C12
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565C12#FFFFFF#000000##FFFFFF
##565C121.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635703
Deuteranopia (green-blind)
#635818
Tritanopia (blue-blind)
#5C564E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #565c12;
/* rgb */ color: rgb(86, 92, 18);
/* oklch */ color: oklch(45.5% 0.094 114.2);
Tailwind
colors: {
  custom: {
    50: '#888a57',
    500: '#565c12',
    950: '#000000',
  },
}
SCSS
$custom: #565c12;
$custom-light: #888a57;
$custom-dark: #000000;
JSON
{
  "hex": "#565c12",
  "rgb": {
    "r": 86,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 64.865,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.45481,
    "c": 0.09354,
    "h": 114.2
  },
  "luminance": 0.09676
}

Semantic roles & 50–950 ramp

primary
#565C12
secondary
#3D3594
accent
#3EEA4C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #565C12

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

Preview Lab → · Contrast checker → · Palette generator →

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