#868318#868318

#868318 is a mid, vivid yellow. Relative luminance 0.214; OKLCH L 59.4% C 0.120 H 107.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#868318
RGBrgb(134, 131, 24)
HSLhsl(58, 70%, 31%)
HSVhsv(58, 82%, 53%)
CMYKcmyk(0%, 2.2%, 82.1%, 47.5%)
CIE-LABlab(53.35, -11.19, 52.89)
CIE-LCHlch(53.35, 54.06, 101.94°)
OKLaboklab(59.4% -0.0369 0.1146)
OKLCHoklch(59.4% 0.12 107.8)
XYZxyz(18.1134, 21.3675, 4.0342)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868318 #181B86
analogous
#864C18 #868318 #528618
triadic
#868318 #188683 #831886
tetradic
#868318 #18864C #181B86 #861852
square
#868318 #18864C #181B86 #861852
split-complementary
#868318 #185286 #4C1886
monochromatic
#1E1E05 #52500F #868318 #BAB621 #DCD83C

Accessibility & contrast

On white

3.98
#868318 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#868318 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868318
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868318#FFFFFF#000000##000000
##8683181.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#908122
Tritanopia (blue-blind)
#907A70
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #868318;
/* rgb */ color: rgb(134, 131, 24);
/* oklch */ color: oklch(59.4% 0.120 107.8);
Tailwind
colors: {
  custom: {
    50: '#ada660',
    500: '#868318',
    950: '#000000',
  },
}
SCSS
$custom: #868318;
$custom-light: #ada660;
$custom-dark: #000000;
JSON
{
  "hex": "#868318",
  "rgb": {
    "r": 134,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 58.364,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.59401,
    "c": 0.12034,
    "h": 107.8
  },
  "luminance": 0.21367
}

Semantic roles & 50–950 ramp

primary
#868318
secondary
#4043BA
accent
#40EC3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #868318

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

Preview Lab → · Contrast checker → · Palette generator →

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