#586212#586212

#586212 is a mid, moderate yellow. Relative luminance 0.109; OKLCH L 47.2% C 0.100 H 116.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#586212
RGBrgb(88, 98, 18)
HSLhsl(68, 69%, 23%)
HSVhsv(68, 82%, 38%)
CMYKcmyk(10.2%, 0%, 81.6%, 61.6%)
CIE-LABlab(39.33, -14.90, 40.77)
CIE-LCHlch(39.33, 43.41, 110.07°)
OKLaboklab(47.19% -0.0451 0.0894)
OKLCHoklch(47.19% 0.1 116.8)
XYZxyz(8.5016, 10.8539, 2.2193)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586212 #1C1262
analogous
#624412 #586212 #306212
triadic
#586212 #125862 #621258
tetradic
#586212 #126244 #1C1262 #621230
square
#586212 #126244 #1C1262 #621230
split-complementary
#586212 #123062 #441262
monochromatic
#171A05 #2A2E09 #586212 #86961B #B5C925

Accessibility & contrast

On white

6.62
#586212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#586212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #586212
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##586212#FFFFFF#000000##FFFFFF
##5862121.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#685D19
Tritanopia (blue-blind)
#5E5C53
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #586212;
/* rgb */ color: rgb(88, 98, 18);
/* oklch */ color: oklch(47.2% 0.100 116.8);
Tailwind
colors: {
  custom: {
    50: '#8a8e58',
    500: '#586212',
    950: '#000000',
  },
}
SCSS
$custom: #586212;
$custom-light: #8a8e58;
$custom-dark: #000000;
JSON
{
  "hex": "#586212",
  "rgb": {
    "r": 88,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 67.5,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.47192,
    "c": 0.10017,
    "h": 116.8
  },
  "luminance": 0.10854
}

Semantic roles & 50–950 ramp

primary
#586212
secondary
#42369A
accent
#3CEC52
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #586212

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

Preview Lab → · Contrast checker → · Palette generator →

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