#565F12#565F12

#565F12 is a mid, moderate yellow. Relative luminance 0.102; OKLCH L 46.2% C 0.097 H 116.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#565F12
RGBrgb(86, 95, 18)
HSLhsl(67, 68%, 22%)
HSVhsv(67, 81%, 37%)
CMYKcmyk(9.5%, 0%, 81.1%, 62.7%)
CIE-LABlab(38.21, -14.19, 39.67)
CIE-LCHlch(38.21, 42.13, 109.67°)
OKLaboklab(46.25% -0.043 0.0872)
OKLCHoklch(46.25% 0.097 116.3)
XYZxyz(8.0394, 10.2066, 2.1187)
Luminance0.1021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565F12 #1B125F
analogous
#5F4212 #565F12 #305F12
triadic
#565F12 #12565F #5F1256
tetradic
#565F12 #125F42 #1B125F #5F1230
square
#565F12 #125F42 #1B125F #5F1230
split-complementary
#565F12 #12305F #42125F
monochromatic
#171A05 #272C08 #565F12 #85921C #B3C625

Accessibility & contrast

On white

6.90
#565F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#565F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565F12
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565F12#FFFFFF#000000##FFFFFF
##565F121.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A02
Deuteranopia (green-blind)
#655A19
Tritanopia (blue-blind)
#5C5951
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #565f12;
/* rgb */ color: rgb(86, 95, 18);
/* oklch */ color: oklch(46.2% 0.097 116.3);
Tailwind
colors: {
  custom: {
    50: '#888c57',
    500: '#565f12',
    950: '#000000',
  },
}
SCSS
$custom: #565f12;
$custom-light: #888c57;
$custom-dark: #000000;
JSON
{
  "hex": "#565f12",
  "rgb": {
    "r": 86,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 67.013,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.46248,
    "c": 0.09723,
    "h": 116.3
  },
  "luminance": 0.10207
}

Semantic roles & 50–950 ramp

primary
#565F12
secondary
#413697
accent
#3DEB51
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #565F12

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

Preview Lab → · Contrast checker → · Palette generator →

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