#586F18#586F18

#586F18 is a mid, moderate yellow-green. Relative luminance 0.135; OKLCH L 50.6% C 0.113 H 123.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#586F18
RGBrgb(88, 111, 24)
HSLhsl(76, 64%, 26%)
HSVhsv(76, 78%, 44%)
CMYKcmyk(20.7%, 0%, 78.4%, 56.5%)
CIE-LABlab(43.52, -21.51, 42.54)
CIE-LCHlch(43.52, 47.67, 116.82°)
OKLaboklab(50.58% -0.0628 0.0943)
OKLCHoklch(50.58% 0.113 123.7)
XYZxyz(9.8739, 13.5095, 2.9514)
Luminance0.1351 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#586F18 #2F186F
analogous
#6F5B18 #586F18 #2D6F18
triadic
#586F18 #18586F #6F1858
tetradic
#586F18 #186F5B #2F186F #6F182D
square
#586F18 #186F5B #2F186F #6F182D
split-complementary
#586F18 #182D6F #5B186F
monochromatic
#141905 #303D0D #586F18 #80A123 #A7D22F

Accessibility & contrast

On white

5.67
#586F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#586F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #586F18
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##586F18#FFFFFF#000000##FFFFFF
##586F181.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766805
Deuteranopia (green-blind)
#736720
Tritanopia (blue-blind)
#5D695E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #586f18;
/* rgb */ color: rgb(88, 111, 24);
/* oklch */ color: oklch(50.6% 0.113 123.7);
Tailwind
colors: {
  custom: {
    50: '#8a985c',
    500: '#586f18',
    950: '#000000',
  },
}
SCSS
$custom: #586f18;
$custom-light: #8a985c;
$custom-dark: #000000;
JSON
{
  "hex": "#586f18",
  "rgb": {
    "r": 88,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 75.862,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.5058,
    "c": 0.11327,
    "h": 123.7
  },
  "luminance": 0.1351
}

Semantic roles & 50–950 ramp

primary
#586F18
secondary
#593EA5
accent
#40E76D
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #586F18

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

Preview Lab → · Contrast checker → · Palette generator →

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