#586918#586918

#586918 is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 49.0% C 0.105 H 120.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#586918
RGBrgb(88, 105, 24)
HSLhsl(73, 63%, 25%)
HSVhsv(73, 77%, 41%)
CMYKcmyk(16.2%, 0%, 77.1%, 58.8%)
CIE-LABlab(41.60, -18.37, 40.70)
CIE-LCHlch(41.60, 44.65, 114.29°)
OKLaboklab(49.03% -0.0541 0.0904)
OKLCHoklch(49.03% 0.105 120.9)
XYZxyz(9.2411, 12.2438, 2.7404)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586918 #291869
analogous
#695218 #586918 #2F6918
triadic
#586918 #185869 #691858
tetradic
#586918 #186952 #291869 #69182F
square
#586918 #186952 #291869 #69182F
split-complementary
#586918 #182F69 #521869
monochromatic
#151906 #2E370D #586918 #829B23 #ABCD2F

Accessibility & contrast

On white

6.09
#586918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#586918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #586918
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##586918#FFFFFF#000000##FFFFFF
##5869181.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706208
Deuteranopia (green-blind)
#6E621F
Tritanopia (blue-blind)
#5D6359
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #586918;
/* rgb */ color: rgb(88, 105, 24);
/* oklch */ color: oklch(49.0% 0.105 120.9);
Tailwind
colors: {
  custom: {
    50: '#8a935b',
    500: '#586918',
    950: '#000000',
  },
}
SCSS
$custom: #586918;
$custom-light: #8a935b;
$custom-dark: #000000;
JSON
{
  "hex": "#586918",
  "rgb": {
    "r": 88,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 72.593,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.49029,
    "c": 0.10538,
    "h": 120.9
  },
  "luminance": 0.12244
}

Semantic roles & 50–950 ramp

primary
#586918
secondary
#523E9F
accent
#42E664
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #586918

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

Preview Lab → · Contrast checker → · Palette generator →

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