#868418#868418

#868418 is a mid, vivid yellow. Relative luminance 0.216; OKLCH L 59.6% C 0.121 H 108.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#868418
RGBrgb(134, 132, 24)
HSLhsl(59, 70%, 31%)
HSVhsv(59, 82%, 53%)
CMYKcmyk(0%, 1.5%, 82.1%, 47.5%)
CIE-LABlab(53.64, -11.73, 53.15)
CIE-LCHlch(53.64, 54.43, 102.44°)
OKLaboklab(59.63% -0.0384 0.1151)
OKLCHoklch(59.63% 0.121 108.4)
XYZxyz(18.2484, 21.6374, 4.0792)
Luminance0.2164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868418 #181A86
analogous
#864D18 #868418 #518618
triadic
#868418 #188684 #841886
tetradic
#868418 #18864D #181A86 #861851
square
#868418 #18864D #181A86 #861851
split-complementary
#868418 #185186 #4D1886
monochromatic
#1E1E05 #52510F #868418 #BAB721 #DCD93C

Accessibility & contrast

On white

3.94
#868418 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#868418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868418
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868418#FFFFFF#000000##000000
##8684181.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#918222
Tritanopia (blue-blind)
#907B70
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #868418;
/* rgb */ color: rgb(134, 132, 24);
/* oklch */ color: oklch(59.6% 0.121 108.4);
Tailwind
colors: {
  custom: {
    50: '#ada760',
    500: '#868418',
    950: '#000000',
  },
}
SCSS
$custom: #868418;
$custom-light: #ada760;
$custom-dark: #000000;
JSON
{
  "hex": "#868418",
  "rgb": {
    "r": 134,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 58.909,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.59633,
    "c": 0.12132,
    "h": 108.4
  },
  "luminance": 0.21637
}

Semantic roles & 50–950 ramp

primary
#868418
secondary
#4042BA
accent
#3FEC3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #868418

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

Preview Lab → · Contrast checker → · Palette generator →

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