#867E22#867E22

#867E22 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.3% C 0.110 H 104.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#867E22
RGBrgb(134, 126, 34)
HSLhsl(55, 60%, 33%)
HSVhsv(55, 75%, 53%)
CMYKcmyk(0%, 6%, 74.6%, 47.5%)
CIE-LABlab(51.96, -8.03, 48.18)
CIE-LCHlch(51.96, 48.85, 99.46°)
OKLaboklab(58.31% -0.0271 0.1065)
OKLCHoklch(58.31% 0.11 104.3)
XYZxyz(17.5818, 20.1062, 4.4678)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867E22 #222A86
analogous
#864C22 #867E22 #5C8622
triadic
#867E22 #22867E #7E2286
tetradic
#867E22 #22864C #222A86 #86225C
square
#867E22 #22864C #222A86 #86225C
split-complementary
#867E22 #225C86 #4C2286
monochromatic
#242209 #555016 #867E22 #B7AC2E #D3C850

Accessibility & contrast

On white

4.18
#867E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#867E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867E22
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867E22#FFFFFF#000000##000000
##867E221.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A12
Deuteranopia (green-blind)
#8C7E28
Tritanopia (blue-blind)
#90756C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #867e22;
/* rgb */ color: rgb(134, 126, 34);
/* oklch */ color: oklch(58.3% 0.110 104.3);
Tailwind
colors: {
  custom: {
    50: '#aca364',
    500: '#867e22',
    950: '#000000',
  },
}
SCSS
$custom: #867e22;
$custom-light: #aca364;
$custom-dark: #000000;
JSON
{
  "hex": "#867e22",
  "rgb": {
    "r": 134,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 55.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58309,
    "c": 0.10988,
    "h": 104.3
  },
  "luminance": 0.20106
}

Semantic roles & 50–950 ramp

primary
#867E22
secondary
#4E56B6
accent
#52E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #867E22

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

Preview Lab → · Contrast checker → · Palette generator →

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