#565F18#565F18

#565F18 is a mid, moderate yellow. Relative luminance 0.102; OKLCH L 46.3% C 0.093 H 116.4°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#565F18
RGBrgb(86, 95, 24)
HSLhsl(68, 60%, 23%)
HSVhsv(68, 75%, 37%)
CMYKcmyk(9.5%, 0%, 74.7%, 62.7%)
CIE-LABlab(38.25, -13.85, 37.37)
CIE-LCHlch(38.25, 39.85, 110.34°)
OKLaboklab(46.29% -0.0415 0.0835)
OKLCHoklch(46.29% 0.093 116.4)
XYZxyz(8.0950, 10.2289, 2.4119)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565F18 #21185F
analogous
#5F4418 #565F18 #325F18
triadic
#565F18 #18565F #5F1856
tetradic
#565F18 #185F44 #21185F #5F1832
square
#565F18 #185F44 #21185F #5F1832
split-complementary
#565F18 #18325F #44185F
monochromatic
#161806 #2A2E0C #565F18 #829024 #AEC131

Accessibility & contrast

On white

6.89
#565F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#565F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #565F18
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565F18#FFFFFF#000000##FFFFFF
##565F181.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #565f18;
/* rgb */ color: rgb(86, 95, 24);
/* oklch */ color: oklch(46.3% 0.093 116.4);
Tailwind
colors: {
  custom: {
    50: '#888c5a',
    500: '#565f18',
    950: '#000000',
  },
}
SCSS
$custom: #565f18;
$custom-light: #888c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#565f18",
  "rgb": {
    "r": 86,
    "g": 95,
    "b": 24
  },
  "hsl": {
    "h": 67.606,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46292,
    "c": 0.09322,
    "h": 116.4
  },
  "luminance": 0.10229
}

Semantic roles & 50–950 ramp

primary
#565F18
secondary
#493D95
accent
#45E359
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #565F18

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

Preview Lab → · Contrast checker → · Palette generator →

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