#868D17#868D17

#868D17 is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.7% C 0.131 H 113.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#868D17
RGBrgb(134, 141, 23)
HSLhsl(64, 72%, 32%)
HSVhsv(64, 84%, 55%)
CMYKcmyk(5%, 0%, 83.7%, 44.7%)
CIE-LABlab(56.27, -16.55, 55.71)
CIE-LCHlch(56.27, 58.11, 106.54°)
OKLaboklab(61.73% -0.0518 0.1204)
OKLCHoklch(61.73% 0.131 113.3)
XYZxyz(19.5117, 24.1804, 4.4499)
Luminance0.2418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868D17 #1E178D
analogous
#8D5917 #868D17 #4B8D17
triadic
#868D17 #17868D #8D1786
tetradic
#868D17 #178D59 #1E178D #8D174B
square
#868D17 #178D59 #1E178D #8D174B
split-complementary
#868D17 #174B8D #59178D
monochromatic
#222406 #54580E #868D17 #B8C220 #D6E03F

Accessibility & contrast

On white

3.60
#868D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#868D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868D17
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868D17#FFFFFF#000000##000000
##868D171.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#988823
Tritanopia (blue-blind)
#908478
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #868d17;
/* rgb */ color: rgb(134, 141, 23);
/* oklch */ color: oklch(61.7% 0.131 113.3);
Tailwind
colors: {
  custom: {
    50: '#adae61',
    500: '#868d17',
    950: '#000000',
  },
}
SCSS
$custom: #868d17;
$custom-light: #adae61;
$custom-dark: #000000;
JSON
{
  "hex": "#868d17",
  "rgb": {
    "r": 134,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 63.559,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61734,
    "c": 0.1311,
    "h": 113.3
  },
  "luminance": 0.2418
}

Semantic roles & 50–950 ramp

primary
#868D17
secondary
#4740C0
accent
#39EF44
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868D17

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

Preview Lab → · Contrast checker → · Palette generator →

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