#565A25#565A25

#565A25 is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.2% C 0.075 H 113.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#565A25
RGBrgb(86, 90, 37)
HSLhsl(65, 42%, 25%)
HSVhsv(65, 59%, 35%)
CMYKcmyk(4.4%, 0%, 58.9%, 64.7%)
CIE-LABlab(36.79, -10.00, 29.58)
CIE-LCHlch(36.79, 31.22, 108.68°)
OKLaboklab(45.16% -0.0292 0.069)
OKLCHoklch(45.16% 0.075 113)
XYZxyz(7.8280, 9.4245, 3.1566)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#565A25 #29255A
analogous
#5A4325 #565A25 #3C5A25
triadic
#565A25 #25565A #5A2556
tetradic
#565A25 #255A43 #29255A #5A253C
square
#565A25 #255A43 #29255A #5A253C
split-complementary
#565A25 #253C5A #43255A
monochromatic
#151609 #2D2F13 #565A25 #7F8537 #A9B149

Accessibility & contrast

On white

7.28
#565A25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#565A25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #565A25
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##565A25#FFFFFF#000000##FFFFFF
##565A251.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605620
Deuteranopia (green-blind)
#605728
Tritanopia (blue-blind)
#5B554E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #565a25;
/* rgb */ color: rgb(86, 90, 37);
/* oklch */ color: oklch(45.2% 0.075 113.0);
Tailwind
colors: {
  custom: {
    50: '#878861',
    500: '#565a25',
    950: '#000000',
  },
}
SCSS
$custom: #565a25;
$custom-light: #878861;
$custom-dark: #000000;
JSON
{
  "hex": "#565a25",
  "rgb": {
    "r": 86,
    "g": 90,
    "b": 37
  },
  "hsl": {
    "h": 64.528,
    "s": 41.732,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45161,
    "c": 0.07493,
    "h": 113
  },
  "luminance": 0.09424
}

Semantic roles & 50–950 ramp

primary
#565A25
secondary
#524D8D
accent
#56D260
background
#F8F8F5
surface
#F0EFEA
border
#CBCAC6
text
#0B0B05
muted
#7C7C79

Preview Lab

Preview with #565A25

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

Preview Lab → · Contrast checker → · Palette generator →

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