#868E17#868E17

#868E17 is a mid, vivid yellow. Relative luminance 0.245; OKLCH L 62.0% C 0.132 H 113.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#868E17
RGBrgb(134, 142, 23)
HSLhsl(64, 72%, 32%)
HSVhsv(64, 84%, 56%)
CMYKcmyk(5.6%, 0%, 83.8%, 44.3%)
CIE-LABlab(56.56, -17.07, 55.96)
CIE-LCHlch(56.56, 58.51, 106.96°)
OKLaboklab(61.97% -0.0532 0.121)
OKLCHoklch(61.97% 0.132 113.8)
XYZxyz(19.6598, 24.4766, 4.4993)
Luminance0.2448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868E17 #1F178E
analogous
#8E5B17 #868E17 #4A8E17
triadic
#868E17 #17868E #8E1786
tetradic
#868E17 #178E5B #1F178E #8E174A
square
#868E17 #178E5B #1F178E #8E174A
split-complementary
#868E17 #174A8E #5B178E
monochromatic
#232506 #54590E #868E17 #B8C320 #D5E03F

Accessibility & contrast

On white

3.56
#868E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#868E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868E17
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868E17#FFFFFF#000000##000000
##868E171.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#998923
Tritanopia (blue-blind)
#908579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #868e17;
/* rgb */ color: rgb(134, 142, 23);
/* oklch */ color: oklch(62.0% 0.132 113.8);
Tailwind
colors: {
  custom: {
    50: '#adae61',
    500: '#868e17',
    950: '#000000',
  },
}
SCSS
$custom: #868e17;
$custom-light: #adae61;
$custom-dark: #000000;
JSON
{
  "hex": "#868e17",
  "rgb": {
    "r": 134,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 64.034,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.6197,
    "c": 0.13217,
    "h": 113.8
  },
  "luminance": 0.24476
}

Semantic roles & 50–950 ramp

primary
#868E17
secondary
#4940C0
accent
#39EF45
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868E17

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

Preview Lab → · Contrast checker → · Palette generator →

#868E17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva