#565E12#565E12

#565E12 is a mid, moderate yellow. Relative luminance 0.100; OKLCH L 46.0% C 0.096 H 115.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#565E12
RGBrgb(86, 94, 18)
HSLhsl(66, 68%, 22%)
HSVhsv(66, 81%, 37%)
CMYKcmyk(8.5%, 0%, 80.9%, 63.1%)
CIE-LABlab(37.89, -13.63, 39.38)
CIE-LCHlch(37.89, 41.67, 109.09°)
OKLaboklab(45.99% -0.0415 0.0866)
OKLCHoklch(45.99% 0.096 115.6)
XYZxyz(7.9499, 10.0276, 2.0889)
Luminance0.1003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565E12 #1A125E
analogous
#5E4012 #565E12 #305E12
triadic
#565E12 #12565E #5E1256
tetradic
#565E12 #125E40 #1A125E #5E1230
square
#565E12 #125E40 #1A125E #5E1230
split-complementary
#565E12 #12305E #40125E
monochromatic
#171A05 #272B08 #565E12 #85911C #B4C526

Accessibility & contrast

On white

6.99
#565E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#565E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565E12
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565E12#FFFFFF#000000##FFFFFF
##565E121.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655902
Deuteranopia (green-blind)
#655A19
Tritanopia (blue-blind)
#5C5850
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #565e12;
/* rgb */ color: rgb(86, 94, 18);
/* oklch */ color: oklch(46.0% 0.096 115.6);
Tailwind
colors: {
  custom: {
    50: '#888b57',
    500: '#565e12',
    950: '#000000',
  },
}
SCSS
$custom: #565e12;
$custom-light: #888b57;
$custom-dark: #000000;
JSON
{
  "hex": "#565e12",
  "rgb": {
    "r": 86,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 66.316,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45992,
    "c": 0.09599,
    "h": 115.6
  },
  "luminance": 0.10028
}

Semantic roles & 50–950 ramp

primary
#565E12
secondary
#403596
accent
#3DEB4F
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #565E12

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

Preview Lab → · Contrast checker → · Palette generator →

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