#858217#858217

#858217 is a mid, vivid yellow. Relative luminance 0.210; OKLCH L 59.1% C 0.120 H 107.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#858217
RGBrgb(133, 130, 23)
HSLhsl(58, 71%, 31%)
HSVhsv(58, 83%, 52%)
CMYKcmyk(0%, 2.3%, 82.7%, 47.8%)
CIE-LABlab(52.97, -11.14, 52.82)
CIE-LCHlch(52.97, 53.98, 101.91°)
OKLaboklab(59.07% -0.0368 0.1142)
OKLCHoklch(59.07% 0.12 107.8)
XYZxyz(17.8109, 21.0143, 3.9284)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#858217 #171A85
analogous
#854B17 #858217 #518517
triadic
#858217 #178582 #821785
tetradic
#858217 #17854B #171A85 #851751
square
#858217 #17854B #171A85 #851751
split-complementary
#858217 #175185 #4B1785
monochromatic
#1D1C05 #514F0E #858217 #B9B520 #DDD83A

Accessibility & contrast

On white

4.04
#858217 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#858217 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #858217
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##858217#FFFFFF#000000##000000
##8582171.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7C00
Deuteranopia (green-blind)
#8F8021
Tritanopia (blue-blind)
#8F796F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #858217;
/* rgb */ color: rgb(133, 130, 23);
/* oklch */ color: oklch(59.1% 0.120 107.8);
Tailwind
colors: {
  custom: {
    50: '#aca660',
    500: '#858217',
    950: '#000000',
  },
}
SCSS
$custom: #858217;
$custom-light: #aca660;
$custom-dark: #000000;
JSON
{
  "hex": "#858217",
  "rgb": {
    "r": 133,
    "g": 130,
    "b": 23
  },
  "hsl": {
    "h": 58.364,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.59071,
    "c": 0.12001,
    "h": 107.8
  },
  "luminance": 0.21014
}

Semantic roles & 50–950 ramp

primary
#858217
secondary
#3F42B9
accent
#3FED3B
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #858217

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

Preview Lab → · Contrast checker → · Palette generator →

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