#585E12#585E12

#585E12 is a mid, moderate yellow. Relative luminance 0.101; OKLCH L 46.2% C 0.095 H 114.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#585E12
RGBrgb(88, 94, 18)
HSLhsl(65, 68%, 22%)
HSVhsv(65, 81%, 37%)
CMYKcmyk(6.4%, 0%, 80.9%, 63.1%)
CIE-LABlab(38.06, -12.67, 39.60)
CIE-LCHlch(38.06, 41.58, 107.74°)
OKLaboklab(46.17% -0.039 0.0869)
OKLCHoklch(46.17% 0.095 114.1)
XYZxyz(8.1366, 10.1239, 2.0976)
Luminance0.1012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#585E12 #18125E
analogous
#5E3E12 #585E12 #325E12
triadic
#585E12 #12585E #5E1258
tetradic
#585E12 #125E3E #18125E #5E1232
square
#585E12 #125E3E #18125E #5E1232
split-complementary
#585E12 #12325E #3E125E
monochromatic
#181A05 #282B08 #585E12 #88911C #B8C526

Accessibility & contrast

On white

6.94
#585E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#585E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #585E12
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##585E12#FFFFFF#000000##FFFFFF
##585E121.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655902
Deuteranopia (green-blind)
#655A19
Tritanopia (blue-blind)
#5E5850
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #585e12;
/* rgb */ color: rgb(88, 94, 18);
/* oklch */ color: oklch(46.2% 0.095 114.1);
Tailwind
colors: {
  custom: {
    50: '#8a8b57',
    500: '#585e12',
    950: '#000000',
  },
}
SCSS
$custom: #585e12;
$custom-light: #8a8b57;
$custom-dark: #000000;
JSON
{
  "hex": "#585e12",
  "rgb": {
    "r": 88,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 64.737,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.46173,
    "c": 0.09528,
    "h": 114.1
  },
  "luminance": 0.10124
}

Semantic roles & 50–950 ramp

primary
#585E12
secondary
#3D3596
accent
#3DEB4B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #585E12

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

Preview Lab → · Contrast checker → · Palette generator →

#585E12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva