#868F17#868F17

#868F17 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.2% C 0.133 H 114.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#868F17
RGBrgb(134, 143, 23)
HSLhsl(65, 72%, 33%)
HSVhsv(65, 84%, 56%)
CMYKcmyk(6.3%, 0%, 83.9%, 43.9%)
CIE-LABlab(56.86, -17.59, 56.22)
CIE-LCHlch(56.86, 58.90, 107.37°)
OKLaboklab(62.21% -0.0547 0.1215)
OKLCHoklch(62.21% 0.133 114.2)
XYZxyz(19.8093, 24.7755, 4.5491)
Luminance0.2477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868F17 #20178F
analogous
#8F5C17 #868F17 #4A8F17
triadic
#868F17 #17868F #8F1786
tetradic
#868F17 #178F5C #20178F #8F174A
square
#868F17 #178F5C #20178F #8F174A
split-complementary
#868F17 #174A8F #5C178F
monochromatic
#232606 #555A0F #868F17 #B7C41F #D4E040

Accessibility & contrast

On white

3.53
#868F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#868F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868F17
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868F17#FFFFFF#000000##000000
##868F171.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9A8924
Tritanopia (blue-blind)
#8F867A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #868f17;
/* rgb */ color: rgb(134, 143, 23);
/* oklch */ color: oklch(62.2% 0.133 114.2);
Tailwind
colors: {
  custom: {
    50: '#adaf62',
    500: '#868f17',
    950: '#000000',
  },
}
SCSS
$custom: #868f17;
$custom-light: #adaf62;
$custom-dark: #000000;
JSON
{
  "hex": "#868f17",
  "rgb": {
    "r": 134,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 64.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.62206,
    "c": 0.13326,
    "h": 114.2
  },
  "luminance": 0.24775
}

Semantic roles & 50–950 ramp

primary
#868F17
secondary
#4B41C1
accent
#39EF46
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868F17

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

Preview Lab → · Contrast checker → · Palette generator →

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