#566312#566312

#566312 is a mid, moderate yellow. Relative luminance 0.109; OKLCH L 47.3% C 0.102 H 118.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#566312
RGBrgb(86, 99, 18)
HSLhsl(70, 69%, 23%)
HSVhsv(70, 82%, 39%)
CMYKcmyk(13.1%, 0%, 81.8%, 61.2%)
CIE-LABlab(39.49, -16.38, 40.85)
CIE-LCHlch(39.49, 44.02, 111.85°)
OKLaboklab(47.28% -0.0491 0.0897)
OKLCHoklch(47.28% 0.102 118.7)
XYZxyz(8.4090, 10.9459, 2.2419)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#566312 #1F1263
analogous
#634712 #566312 #2D6312
triadic
#566312 #125663 #631256
tetradic
#566312 #126347 #1F1263 #63122D
square
#566312 #126347 #1F1263 #63122D
split-complementary
#566312 #122D63 #471263
monochromatic
#161A05 #292F09 #566312 #83971B #B0CB25

Accessibility & contrast

On white

6.58
#566312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#566312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #566312
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##566312#FFFFFF#000000##FFFFFF
##5663121.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#695D1A
Tritanopia (blue-blind)
#5C5D54
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #566312;
/* rgb */ color: rgb(86, 99, 18);
/* oklch */ color: oklch(47.3% 0.102 118.7);
Tailwind
colors: {
  custom: {
    50: '#888f58',
    500: '#566312',
    950: '#000000',
  },
}
SCSS
$custom: #566312;
$custom-light: #888f58;
$custom-dark: #000000;
JSON
{
  "hex": "#566312",
  "rgb": {
    "r": 86,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 69.63,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.47276,
    "c": 0.10225,
    "h": 118.7
  },
  "luminance": 0.10946
}

Semantic roles & 50–950 ramp

primary
#566312
secondary
#46369B
accent
#3CEC58
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #566312

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

Preview Lab → · Contrast checker → · Palette generator →

#566312 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva