#565A12#565A12

#565A12 is a dark, moderate yellow. Relative luminance 0.093; OKLCH L 45.0% C 0.091 H 112.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#565A12
RGBrgb(86, 90, 18)
HSLhsl(63, 67%, 21%)
HSVhsv(63, 80%, 35%)
CMYKcmyk(4.4%, 0%, 80%, 64.7%)
CIE-LABlab(36.62, -11.37, 38.19)
CIE-LCHlch(36.62, 39.85, 106.58°)
OKLaboklab(44.97% -0.0353 0.084)
OKLCHoklch(44.97% 0.091 112.8)
XYZxyz(7.6033, 9.3346, 1.9734)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565A12 #16125A
analogous
#5A3A12 #565A12 #325A12
triadic
#565A12 #12565A #5A1256
tetradic
#565A12 #125A3A #16125A #5A1232
square
#565A12 #125A3A #16125A #5A1232
split-complementary
#565A12 #12325A #3A125A
monochromatic
#181A05 #252708 #565A12 #878D1C #B7C026

Accessibility & contrast

On white

7.33
#565A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#565A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565A12
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565A12#FFFFFF#000000##FFFFFF
##565A121.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615504
Deuteranopia (green-blind)
#615718
Tritanopia (blue-blind)
#5C544C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #565a12;
/* rgb */ color: rgb(86, 90, 18);
/* oklch */ color: oklch(45.0% 0.091 112.8);
Tailwind
colors: {
  custom: {
    50: '#888856',
    500: '#565a12',
    950: '#000000',
  },
}
SCSS
$custom: #565a12;
$custom-light: #888856;
$custom-dark: #000000;
JSON
{
  "hex": "#565a12",
  "rgb": {
    "r": 86,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 63.333,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.44973,
    "c": 0.09114,
    "h": 112.8
  },
  "luminance": 0.09334
}

Semantic roles & 50–950 ramp

primary
#565A12
secondary
#3A3593
accent
#3EEA48
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #565A12

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

Preview Lab → · Contrast checker → · Palette generator →

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