#868331#868331

#868331 is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.6% C 0.104 H 107.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#868331
RGBrgb(134, 131, 49)
HSLhsl(58, 46%, 36%)
HSVhsv(58, 63%, 53%)
CMYKcmyk(0%, 2.2%, 63.4%, 47.5%)
CIE-LABlab(53.52, -9.86, 43.39)
CIE-LCHlch(53.52, 44.50, 102.81°)
OKLaboklab(59.59% -0.0306 0.099)
OKLCHoklch(59.59% 0.104 107.2)
XYZxyz(18.5028, 21.5233, 6.0849)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868331 #313486
analogous
#865831 #868331 #5E8631
triadic
#868331 #318683 #833186
tetradic
#868331 #318658 #313486 #86315E
square
#868331 #318658 #313486 #86315E
split-complementary
#868331 #315E86 #583186
monochromatic
#2C2B10 #595721 #868331 #B3AF41 #C8C569

Accessibility & contrast

On white

3.96
#868331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#868331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868331
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868331#FFFFFF#000000##000000
##8683311.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E27
Deuteranopia (green-blind)
#8F8136
Tritanopia (blue-blind)
#8F7B72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #868331;
/* rgb */ color: rgb(134, 131, 49);
/* oklch */ color: oklch(59.6% 0.104 107.2);
Tailwind
colors: {
  custom: {
    50: '#aca66d',
    500: '#868331',
    950: '#000000',
  },
}
SCSS
$custom: #868331;
$custom-light: #aca66d;
$custom-dark: #000000;
JSON
{
  "hex": "#868331",
  "rgb": {
    "r": 134,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 57.882,
    "s": 46.448,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59589,
    "c": 0.10361,
    "h": 107.2
  },
  "luminance": 0.21523
}

Semantic roles & 50–950 ramp

primary
#868331
secondary
#6366B0
accent
#56D652
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #868331

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

Preview Lab → · Contrast checker → · Palette generator →

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