#868E11#868E11

#868E11 is a mid, vivid yellow. Relative luminance 0.245; OKLCH L 61.9% C 0.134 H 113.7°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#868E11
RGBrgb(134, 142, 17)
HSLhsl(64, 79%, 31%)
HSVhsv(64, 88%, 56%)
CMYKcmyk(5.6%, 0%, 88%, 44.3%)
CIE-LABlab(56.54, -17.24, 57.40)
CIE-LCHlch(56.54, 59.93, 106.72°)
OKLaboklab(61.95% -0.0541 0.1231)
OKLCHoklch(61.95% 0.134 113.7)
XYZxyz(19.6064, 24.4552, 4.2177)
Luminance0.2445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868E11 #19118E
analogous
#8E5711 #868E11 #478E11
triadic
#868E11 #11868E #8E1186
tetradic
#868E11 #118E57 #19118E #8E1147
square
#868E11 #118E57 #19118E #8E1147
split-complementary
#868E11 #11478E #57118E
monochromatic
#1F2104 #52570A #868E11 #BAC518 #DBE733

Accessibility & contrast

On white

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

On black

5.89
#868E11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868E11
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868E11#FFFFFF#000000##000000
##868E111.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #868e11;
/* rgb */ color: rgb(134, 142, 17);
/* oklch */ color: oklch(61.9% 0.134 113.7);
Tailwind
colors: {
  custom: {
    50: '#adae5f',
    500: '#868e11',
    950: '#000000',
  },
}
SCSS
$custom: #868e11;
$custom-light: #adae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#868e11",
  "rgb": {
    "r": 134,
    "g": 142,
    "b": 17
  },
  "hsl": {
    "h": 63.84,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.61946,
    "c": 0.13443,
    "h": 113.7
  },
  "luminance": 0.24455
}

Semantic roles & 50–950 ramp

primary
#868E11
secondary
#4138C2
accent
#33F53F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #868E11

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

Preview Lab → · Contrast checker → · Palette generator →

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