#586D18#586D18

#586D18 is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 50.1% C 0.111 H 122.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#586D18
RGBrgb(88, 109, 24)
HSLhsl(75, 64%, 26%)
HSVhsv(75, 78%, 43%)
CMYKcmyk(19.3%, 0%, 78%, 57.3%)
CIE-LABlab(42.88, -20.47, 41.93)
CIE-LCHlch(42.88, 46.66, 116.02°)
OKLaboklab(50.06% -0.0599 0.093)
OKLCHoklch(50.06% 0.111 122.8)
XYZxyz(9.6581, 13.0779, 2.8794)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586D18 #2D186D
analogous
#6D5718 #586D18 #2D6D18
triadic
#586D18 #18586D #6D1858
tetradic
#586D18 #186D57 #2D186D #6D182D
square
#586D18 #186D57 #2D186D #6D182D
split-complementary
#586D18 #182D6D #57186D
monochromatic
#141906 #303B0D #586D18 #809F23 #A9D12E

Accessibility & contrast

On white

5.81
#586D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#586D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #586D18
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##586D18#FFFFFF#000000##FFFFFF
##586D181.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746606
Deuteranopia (green-blind)
#716520
Tritanopia (blue-blind)
#5D675D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #586d18;
/* rgb */ color: rgb(88, 109, 24);
/* oklch */ color: oklch(50.1% 0.111 122.8);
Tailwind
colors: {
  custom: {
    50: '#8a965c',
    500: '#586d18',
    950: '#000000',
  },
}
SCSS
$custom: #586d18;
$custom-light: #8a965c;
$custom-dark: #000000;
JSON
{
  "hex": "#586d18",
  "rgb": {
    "r": 88,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 74.824,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50062,
    "c": 0.11064,
    "h": 122.8
  },
  "luminance": 0.13078
}

Semantic roles & 50–950 ramp

primary
#586D18
secondary
#573EA3
accent
#41E76A
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #586D18

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

Preview Lab → · Contrast checker → · Palette generator →

#586D18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva