#868221#868221

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

Color values

HEX#868221
RGBrgb(134, 130, 33)
HSLhsl(58, 60%, 33%)
HSVhsv(58, 75%, 53%)
CMYKcmyk(0%, 3%, 75.4%, 47.5%)
CIE-LABlab(53.11, -10.27, 49.66)
CIE-LCHlch(53.11, 50.71, 101.68°)
OKLaboklab(59.22% -0.0335 0.1094)
OKLCHoklch(59.22% 0.114 107)
XYZxyz(18.0894, 21.1440, 4.5669)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868221 #212586
analogous
#865021 #868221 #578621
triadic
#868221 #218682 #822186
tetradic
#868221 #218650 #212586 #862157
square
#868221 #218650 #212586 #862157
split-complementary
#868221 #215786 #502186
monochromatic
#242309 #555215 #868221 #B7B22D #D3CE4E

Accessibility & contrast

On white

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

On black

5.23
#868221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868221
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868221#FFFFFF#000000##000000
##8682211.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #868221;
/* rgb */ color: rgb(134, 130, 33);
/* oklch */ color: oklch(59.2% 0.114 107.0);
Tailwind
colors: {
  custom: {
    50: '#aca664',
    500: '#868221',
    950: '#000000',
  },
}
SCSS
$custom: #868221;
$custom-light: #aca664;
$custom-dark: #000000;
JSON
{
  "hex": "#868221",
  "rgb": {
    "r": 134,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 57.624,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59223,
    "c": 0.11443,
    "h": 107
  },
  "luminance": 0.21143
}

Semantic roles & 50–950 ramp

primary
#868221
secondary
#4C50B7
accent
#4AE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #868221

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

Preview Lab → · Contrast checker → · Palette generator →

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