#868522#868522

#868522 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 59.9% C 0.117 H 108.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#868522
RGBrgb(134, 133, 34)
HSLhsl(59, 60%, 33%)
HSVhsv(59, 75%, 53%)
CMYKcmyk(0%, 0.7%, 74.6%, 47.5%)
CIE-LABlab(53.98, -11.84, 50.12)
CIE-LCHlch(53.98, 51.51, 103.30°)
OKLaboklab(59.92% -0.0378 0.1106)
OKLCHoklch(59.92% 0.117 108.9)
XYZxyz(18.5085, 21.9595, 4.7767)
Luminance0.2196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868522 #222386
analogous
#865322 #868522 #558622
triadic
#868522 #228685 #852286
tetradic
#868522 #228653 #222386 #862255
square
#868522 #228653 #222386 #862255
split-complementary
#868522 #225586 #532286
monochromatic
#242409 #555516 #868522 #B7B52E #D3D150

Accessibility & contrast

On white

3.89
#868522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#868522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868522
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868522#FFFFFF#000000##000000
##8685221.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0F
Deuteranopia (green-blind)
#92832A
Tritanopia (blue-blind)
#907C72
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #868522;
/* rgb */ color: rgb(134, 133, 34);
/* oklch */ color: oklch(59.9% 0.117 108.9);
Tailwind
colors: {
  custom: {
    50: '#aca865',
    500: '#868522',
    950: '#000000',
  },
}
SCSS
$custom: #868522;
$custom-light: #aca865;
$custom-dark: #000000;
JSON
{
  "hex": "#868522",
  "rgb": {
    "r": 134,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 59.4,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59924,
    "c": 0.11688,
    "h": 108.9
  },
  "luminance": 0.21959
}

Semantic roles & 50–950 ramp

primary
#868522
secondary
#4E4FB6
accent
#47E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #868522

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

Preview Lab → · Contrast checker → · Palette generator →

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