#586112#586112

#586112 is a mid, moderate yellow. Relative luminance 0.107; OKLCH L 46.9% C 0.099 H 116.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#586112
RGBrgb(88, 97, 18)
HSLhsl(67, 69%, 23%)
HSVhsv(67, 81%, 38%)
CMYKcmyk(9.3%, 0%, 81.4%, 62%)
CIE-LABlab(39.02, -14.34, 40.48)
CIE-LCHlch(39.02, 42.94, 109.51°)
OKLaboklab(46.94% -0.0436 0.0888)
OKLCHoklch(46.94% 0.099 116.2)
XYZxyz(8.4086, 10.6679, 2.1883)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586112 #1B1261
analogous
#614212 #586112 #316112
triadic
#586112 #125861 #611258
tetradic
#586112 #126142 #1B1261 #611231
square
#586112 #126142 #1B1261 #611231
split-complementary
#586112 #123161 #421261
monochromatic
#171A05 #292D08 #586112 #87951C #B6C825

Accessibility & contrast

On white

6.70
#586112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#586112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #586112
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##586112#FFFFFF#000000##FFFFFF
##5861121.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B01
Deuteranopia (green-blind)
#685C19
Tritanopia (blue-blind)
#5E5B52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #586112;
/* rgb */ color: rgb(88, 97, 18);
/* oklch */ color: oklch(46.9% 0.099 116.2);
Tailwind
colors: {
  custom: {
    50: '#8a8d57',
    500: '#586112',
    950: '#000000',
  },
}
SCSS
$custom: #586112;
$custom-light: #8a8d57;
$custom-dark: #000000;
JSON
{
  "hex": "#586112",
  "rgb": {
    "r": 88,
    "g": 97,
    "b": 18
  },
  "hsl": {
    "h": 66.835,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.46936,
    "c": 0.09894,
    "h": 116.2
  },
  "luminance": 0.10668
}

Semantic roles & 50–950 ramp

primary
#586112
secondary
#413699
accent
#3CEC50
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #586112

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

Preview Lab → · Contrast checker → · Palette generator →

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