#586227#586227

#586227 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.4% C 0.083 H 117.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#586227
RGBrgb(88, 98, 39)
HSLhsl(70, 43%, 27%)
HSVhsv(70, 60%, 38%)
CMYKcmyk(10.2%, 0%, 60.2%, 61.6%)
CIE-LABlab(39.51, -13.42, 31.67)
CIE-LCHlch(39.51, 34.40, 112.95°)
OKLaboklab(47.39% -0.0388 0.0737)
OKLCHoklch(47.39% 0.083 117.7)
XYZxyz(8.7585, 10.9566, 3.5725)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586227 #312762
analogous
#624F27 #586227 #3B6227
triadic
#586227 #275862 #622758
tetradic
#586227 #27624F #312762 #62273B
square
#586227 #27624F #312762 #62273B
split-complementary
#586227 #273B62 #4F2762
monochromatic
#141609 #313616 #586227 #7F8E38 #A5B84C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##586227#FFFFFF#000000##FFFFFF
##5862271.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)
#685D21
Deuteranopia (green-blind)
#675D2B
Tritanopia (blue-blind)
#5D5D55
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #586227;
/* rgb */ color: rgb(88, 98, 39);
/* oklch */ color: oklch(47.4% 0.083 117.7);
Tailwind
colors: {
  custom: {
    50: '#898e63',
    500: '#586227',
    950: '#000000',
  },
}
SCSS
$custom: #586227;
$custom-light: #898e63;
$custom-dark: #000000;
JSON
{
  "hex": "#586227",
  "rgb": {
    "r": 88,
    "g": 98,
    "b": 39
  },
  "hsl": {
    "h": 70.169,
    "s": 43.066,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47387,
    "c": 0.08328,
    "h": 117.7
  },
  "luminance": 0.10957
}

Semantic roles & 50–950 ramp

primary
#586227
secondary
#5C5095
accent
#55D36A
background
#F8F8F6
surface
#F0F0EB
border
#CBCBC6
text
#0C0C05
muted
#7D7D7A

Preview Lab

Preview with #586227

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

Preview Lab → · Contrast checker → · Palette generator →

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