#868218#868218

#868218 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.2% C 0.119 H 107.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#868218
RGBrgb(134, 130, 24)
HSLhsl(58, 70%, 31%)
HSVhsv(58, 82%, 53%)
CMYKcmyk(0%, 3%, 82.1%, 47.5%)
CIE-LABlab(53.06, -10.64, 52.64)
CIE-LCHlch(53.06, 53.70, 101.43°)
OKLaboklab(59.17% -0.0354 0.114)
OKLCHoklch(59.17% 0.119 107.2)
XYZxyz(17.9798, 21.1002, 3.9896)
Luminance0.2110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868218 #181C86
analogous
#864B18 #868218 #538618
triadic
#868218 #188682 #821886
tetradic
#868218 #18864B #181C86 #861853
square
#868218 #18864B #181C86 #861853
split-complementary
#868218 #185386 #4B1886
monochromatic
#1E1D05 #52500F #868218 #BAB421 #DCD63C

Accessibility & contrast

On white

4.02
#868218 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#868218 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868218
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868218#FFFFFF#000000##000000
##8682181.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#908022
Tritanopia (blue-blind)
#90796F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #868218;
/* rgb */ color: rgb(134, 130, 24);
/* oklch */ color: oklch(59.2% 0.119 107.2);
Tailwind
colors: {
  custom: {
    50: '#ada660',
    500: '#868218',
    950: '#000000',
  },
}
SCSS
$custom: #868218;
$custom-light: #ada660;
$custom-dark: #000000;
JSON
{
  "hex": "#868218",
  "rgb": {
    "r": 134,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 57.818,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.59169,
    "c": 0.11936,
    "h": 107.2
  },
  "luminance": 0.211
}

Semantic roles & 50–950 ramp

primary
#868218
secondary
#4044BA
accent
#42EC3B
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #868218

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

Preview Lab → · Contrast checker → · Palette generator →

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