#868217#868217

#868217 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.2% C 0.120 H 107.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#868217
RGBrgb(134, 130, 23)
HSLhsl(58, 71%, 31%)
HSVhsv(58, 83%, 53%)
CMYKcmyk(0%, 3%, 82.8%, 47.5%)
CIE-LABlab(53.05, -10.68, 52.93)
CIE-LCHlch(53.05, 54.00, 101.41°)
OKLaboklab(59.16% -0.0355 0.1144)
OKLCHoklch(59.16% 0.12 107.3)
XYZxyz(17.9696, 21.0961, 3.9358)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868217 #171B86
analogous
#864A17 #868217 #528617
triadic
#868217 #178682 #821786
tetradic
#868217 #17864A #171B86 #861752
square
#868217 #17864A #171B86 #861752
split-complementary
#868217 #175286 #4A1786
monochromatic
#1E1D05 #524F0E #868217 #BAB520 #DDD73A

Accessibility & contrast

On white

4.02
#868217 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#868217 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868217
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868217#FFFFFF#000000##000000
##8682171.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#908021
Tritanopia (blue-blind)
#90796F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #868217;
/* rgb */ color: rgb(134, 130, 23);
/* oklch */ color: oklch(59.2% 0.120 107.3);
Tailwind
colors: {
  custom: {
    50: '#ada660',
    500: '#868217',
    950: '#000000',
  },
}
SCSS
$custom: #868217;
$custom-light: #ada660;
$custom-dark: #000000;
JSON
{
  "hex": "#868217",
  "rgb": {
    "r": 134,
    "g": 130,
    "b": 23
  },
  "hsl": {
    "h": 57.838,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.59164,
    "c": 0.11982,
    "h": 107.3
  },
  "luminance": 0.21095
}

Semantic roles & 50–950 ramp

primary
#868217
secondary
#3F43BA
accent
#41ED3A
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #868217

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

Preview Lab → · Contrast checker → · Palette generator →

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