#868621#868621

#868621 is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.2% C 0.119 H 109.5°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#868621
RGBrgb(134, 134, 33)
HSLhsl(60, 60%, 33%)
HSVhsv(60, 75%, 53%)
CMYKcmyk(0%, 0%, 75.4%, 47.5%)
CIE-LABlab(54.27, -12.43, 50.76)
CIE-LCHlch(54.27, 52.26, 103.76°)
OKLaboklab(60.15% -0.0395 0.1118)
OKLCHoklch(60.15% 0.119 109.5)
XYZxyz(18.6318, 22.2289, 4.7477)
Luminance0.2223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868621 #212186
analogous
#865321 #868621 #538621
triadic
#868621 #218686 #862186
tetradic
#868621 #218653 #212186 #862153
square
#868621 #218653 #212186 #862153
split-complementary
#868621 #215386 #532186
monochromatic
#242409 #555515 #868621 #B7B72D #D3D34E

Accessibility & contrast

On white

3.86
#868621 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#868621 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868621
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868621#FFFFFF#000000##000000
##8686211.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800C
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#907D73
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #868621;
/* rgb */ color: rgb(134, 134, 33);
/* oklch */ color: oklch(60.2% 0.119 109.5);
Tailwind
colors: {
  custom: {
    50: '#aca965',
    500: '#868621',
    950: '#000000',
  },
}
SCSS
$custom: #868621;
$custom-light: #aca965;
$custom-dark: #000000;
JSON
{
  "hex": "#868621",
  "rgb": {
    "r": 134,
    "g": 134,
    "b": 33
  },
  "hsl": {
    "h": 60,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.6015,
    "c": 0.11854,
    "h": 109.5
  },
  "luminance": 0.22228
}

Semantic roles & 50–950 ramp

primary
#868621
secondary
#4C4CB7
accent
#44E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #868621

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

Preview Lab → · Contrast checker → · Palette generator →

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