#867F20#867F20

#867F20 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.5% C 0.112 H 105.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#867F20
RGBrgb(134, 127, 32)
HSLhsl(56, 61%, 33%)
HSVhsv(56, 76%, 53%)
CMYKcmyk(0%, 5.2%, 76.1%, 47.5%)
CIE-LABlab(52.23, -8.67, 49.20)
CIE-LCHlch(52.23, 49.96, 100.00°)
OKLaboklab(58.52% -0.0291 0.1083)
OKLCHoklch(58.52% 0.112 105.1)
XYZxyz(17.6823, 20.3520, 4.3631)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867F20 #202786
analogous
#864C20 #867F20 #5A8620
triadic
#867F20 #20867F #7F2086
tetradic
#867F20 #20864C #202786 #86205A
square
#867F20 #20864C #202786 #86205A
split-complementary
#867F20 #205A86 #4C2086
monochromatic
#232108 #555014 #867F20 #B7AE2C #D4CB4C

Accessibility & contrast

On white

4.14
#867F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#867F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867F20
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867F20#FFFFFF#000000##000000
##867F201.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A0D
Deuteranopia (green-blind)
#8D7E27
Tritanopia (blue-blind)
#90766D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #867f20;
/* rgb */ color: rgb(134, 127, 32);
/* oklch */ color: oklch(58.5% 0.112 105.1);
Tailwind
colors: {
  custom: {
    50: '#aca363',
    500: '#867f20',
    950: '#000000',
  },
}
SCSS
$custom: #867f20;
$custom-light: #aca363;
$custom-dark: #000000;
JSON
{
  "hex": "#867f20",
  "rgb": {
    "r": 134,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 55.882,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58524,
    "c": 0.1121,
    "h": 105.1
  },
  "luminance": 0.20351
}

Semantic roles & 50–950 ramp

primary
#867F20
secondary
#4B52B7
accent
#4EE543
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #867F20

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

Preview Lab → · Contrast checker → · Palette generator →

#867F20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva