#868C17#868C17

#868C17 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.5% C 0.130 H 112.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#868C17
RGBrgb(134, 140, 23)
HSLhsl(63, 72%, 32%)
HSVhsv(63, 84%, 55%)
CMYKcmyk(4.3%, 0%, 83.6%, 45.1%)
CIE-LABlab(55.97, -16.02, 55.46)
CIE-LCHlch(55.97, 57.72, 106.11°)
OKLaboklab(61.5% -0.0504 0.1199)
OKLCHoklch(61.5% 0.13 112.8)
XYZxyz(19.3649, 23.8868, 4.4010)
Luminance0.2389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868C17 #1D178C
analogous
#8C5817 #868C17 #4C8C17
triadic
#868C17 #17868C #8C1786
tetradic
#868C17 #178C58 #1D178C #8C174C
square
#868C17 #178C58 #1D178C #8C174C
split-complementary
#868C17 #174C8C #58178C
monochromatic
#212306 #54570E #868C17 #B8C120 #D7DF3E

Accessibility & contrast

On white

3.63
#868C17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#868C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868C17
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868C17#FFFFFF#000000##000000
##868C171.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#978723
Tritanopia (blue-blind)
#908377
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #868c17;
/* rgb */ color: rgb(134, 140, 23);
/* oklch */ color: oklch(61.5% 0.130 112.8);
Tailwind
colors: {
  custom: {
    50: '#adad61',
    500: '#868c17',
    950: '#000000',
  },
}
SCSS
$custom: #868c17;
$custom-light: #adad61;
$custom-dark: #000000;
JSON
{
  "hex": "#868c17",
  "rgb": {
    "r": 134,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 63.077,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61499,
    "c": 0.13003,
    "h": 112.8
  },
  "luminance": 0.23886
}

Semantic roles & 50–950 ramp

primary
#868C17
secondary
#463FBF
accent
#39EF43
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #868C17

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

Preview Lab → · Contrast checker → · Palette generator →

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