#868518#868518

#868518 is a mid, vivid yellow. Relative luminance 0.219; OKLCH L 59.9% C 0.122 H 109.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#868518
RGBrgb(134, 133, 24)
HSLhsl(59, 70%, 31%)
HSVhsv(59, 82%, 53%)
CMYKcmyk(0%, 0.7%, 82.1%, 47.5%)
CIE-LABlab(53.93, -12.27, 53.40)
CIE-LCHlch(53.93, 54.79, 102.94°)
OKLaboklab(59.87% -0.0399 0.1156)
OKLCHoklch(59.87% 0.122 109)
XYZxyz(18.3846, 21.9099, 4.1246)
Luminance0.2191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868518 #181986
analogous
#864E18 #868518 #508618
triadic
#868518 #188685 #851886
tetradic
#868518 #18864E #181986 #861850
square
#868518 #18864E #181986 #861850
split-complementary
#868518 #185086 #4E1886
monochromatic
#1E1E05 #52510F #868518 #BAB921 #DCDB3C

Accessibility & contrast

On white

3.90
#868518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#868518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868518
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868518#FFFFFF#000000##000000
##8685181.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#928222
Tritanopia (blue-blind)
#907C71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #868518;
/* rgb */ color: rgb(134, 133, 24);
/* oklch */ color: oklch(59.9% 0.122 109.0);
Tailwind
colors: {
  custom: {
    50: '#ada860',
    500: '#868518',
    950: '#000000',
  },
}
SCSS
$custom: #868518;
$custom-light: #ada860;
$custom-dark: #000000;
JSON
{
  "hex": "#868518",
  "rgb": {
    "r": 134,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 59.455,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.59866,
    "c": 0.12232,
    "h": 109
  },
  "luminance": 0.21909
}

Semantic roles & 50–950 ramp

primary
#868518
secondary
#4041BA
accent
#3DEC3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #868518

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

Preview Lab → · Contrast checker → · Palette generator →

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