#586122#586122

#586122 is a mid, moderate yellow. Relative luminance 0.107; OKLCH L 47.1% C 0.087 H 116.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#586122
RGBrgb(88, 97, 34)
HSLhsl(69, 48%, 26%)
HSVhsv(69, 65%, 38%)
CMYKcmyk(9.3%, 0%, 64.9%, 62%)
CIE-LABlab(39.14, -13.30, 33.78)
CIE-LCHlch(39.14, 36.30, 111.49°)
OKLaboklab(47.08% -0.039 0.0775)
OKLCHoklch(47.08% 0.087 116.7)
XYZxyz(8.5881, 10.7397, 3.1336)
Luminance0.1074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586122 #2B2261
analogous
#614A22 #586122 #386122
triadic
#586122 #225861 #612258
tetradic
#586122 #22614A #2B2261 #612238
square
#586122 #22614A #2B2261 #612238
split-complementary
#586122 #223861 #4A2261
monochromatic
#151708 #2F3412 #586122 #818E32 #AABC42

Accessibility & contrast

On white

6.67
#586122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#586122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #586122
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##586122#FFFFFF#000000##FFFFFF
##5861221.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C1B
Deuteranopia (green-blind)
#675D26
Tritanopia (blue-blind)
#5D5C54
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #586122;
/* rgb */ color: rgb(88, 97, 34);
/* oklch */ color: oklch(47.1% 0.087 116.7);
Tailwind
colors: {
  custom: {
    50: '#898d60',
    500: '#586122',
    950: '#000000',
  },
}
SCSS
$custom: #586122;
$custom-light: #898d60;
$custom-dark: #000000;
JSON
{
  "hex": "#586122",
  "rgb": {
    "r": 88,
    "g": 97,
    "b": 34
  },
  "hsl": {
    "h": 68.571,
    "s": 48.092,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47075,
    "c": 0.08677,
    "h": 116.7
  },
  "luminance": 0.1074
}

Semantic roles & 50–950 ramp

primary
#586122
secondary
#554A95
accent
#50D863
background
#F8F8F5
surface
#F0F0EA
border
#CBCBC6
text
#0C0C05
muted
#7D7D79

Preview Lab

Preview with #586122

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

Preview Lab → · Contrast checker → · Palette generator →

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