#867D2B#867D2B

#867D2B is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.2% C 0.102 H 103.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#867D2B
RGBrgb(134, 125, 43)
HSLhsl(54, 51%, 35%)
HSVhsv(54, 68%, 53%)
CMYKcmyk(0%, 6.7%, 67.9%, 47.5%)
CIE-LABlab(51.74, -6.97, 44.22)
CIE-LCHlch(51.74, 44.76, 98.95°)
OKLaboklab(58.15% -0.0231 0.0998)
OKLCHoklch(58.15% 0.102 103)
XYZxyz(17.6019, 19.9107, 5.2010)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867D2B #2B3486
analogous
#86502B #867D2B #62862B
triadic
#867D2B #2B867D #7D2B86
tetradic
#867D2B #2B8650 #2B3486 #862B62
square
#867D2B #2B8650 #2B3486 #862B62
split-complementary
#867D2B #2B6286 #502B86
monochromatic
#29270D #58521C #867D2B #B4A83A #CCC160

Accessibility & contrast

On white

4.22
#867D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#867D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867D2B
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867D2B#FFFFFF#000000##000000
##867D2B1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887920
Deuteranopia (green-blind)
#8B7D30
Tritanopia (blue-blind)
#90746C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #867d2b;
/* rgb */ color: rgb(134, 125, 43);
/* oklch */ color: oklch(58.2% 0.102 103.0);
Tailwind
colors: {
  custom: {
    50: '#aca269',
    500: '#867d2b',
    950: '#000000',
  },
}
SCSS
$custom: #867d2b;
$custom-light: #aca269;
$custom-dark: #000000;
JSON
{
  "hex": "#867d2b",
  "rgb": {
    "r": 134,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 54.066,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58154,
    "c": 0.1024,
    "h": 103
  },
  "luminance": 0.1991
}

Semantic roles & 50–950 ramp

primary
#867D2B
secondary
#5B64B2
accent
#5BDB4D
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #867D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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