#868321#868321

#868321 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.5% C 0.115 H 107.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#868321
RGBrgb(134, 131, 33)
HSLhsl(58, 60%, 33%)
HSVhsv(58, 75%, 53%)
CMYKcmyk(0%, 2.2%, 75.4%, 47.5%)
CIE-LABlab(53.40, -10.81, 49.94)
CIE-LCHlch(53.40, 51.09, 102.22°)
OKLaboklab(59.45% -0.035 0.11)
OKLCHoklch(59.45% 0.115 107.7)
XYZxyz(18.2230, 21.4114, 4.6114)
Luminance0.2141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868321 #212486
analogous
#865121 #868321 #568621
triadic
#868321 #218683 #832186
tetradic
#868321 #218651 #212486 #862156
square
#868321 #218651 #212486 #862156
split-complementary
#868321 #215686 #512186
monochromatic
#242309 #555315 #868321 #B7B32D #D3CF4E

Accessibility & contrast

On white

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

On black

5.28
#868321 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868321
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868321#FFFFFF#000000##000000
##8683211.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E0D
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#907A70
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #868321;
/* rgb */ color: rgb(134, 131, 33);
/* oklch */ color: oklch(59.5% 0.115 107.7);
Tailwind
colors: {
  custom: {
    50: '#aca664',
    500: '#868321',
    950: '#000000',
  },
}
SCSS
$custom: #868321;
$custom-light: #aca664;
$custom-dark: #000000;
JSON
{
  "hex": "#868321",
  "rgb": {
    "r": 134,
    "g": 131,
    "b": 33
  },
  "hsl": {
    "h": 58.218,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59454,
    "c": 0.11544,
    "h": 107.7
  },
  "luminance": 0.21411
}

Semantic roles & 50–950 ramp

primary
#868321
secondary
#4C4FB7
accent
#49E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #868321

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

Preview Lab → · Contrast checker → · Palette generator →

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