#867B22#867B22

#867B22 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.6% C 0.107 H 102.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#867B22
RGBrgb(134, 123, 34)
HSLhsl(53, 60%, 33%)
HSVhsv(53, 75%, 53%)
CMYKcmyk(0%, 8.2%, 74.6%, 47.5%)
CIE-LABlab(51.09, -6.37, 47.35)
CIE-LCHlch(51.09, 47.78, 97.66°)
OKLaboklab(57.62% -0.0224 0.1047)
OKLCHoklch(57.62% 0.107 102.1)
XYZxyz(17.2040, 19.3505, 4.3419)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867B22 #222D86
analogous
#864922 #867B22 #5F8622
triadic
#867B22 #22867B #7B2286
tetradic
#867B22 #228649 #222D86 #86225F
square
#867B22 #228649 #222D86 #86225F
split-complementary
#867B22 #225F86 #492286
monochromatic
#242109 #554E16 #867B22 #B7A82E #D3C450

Accessibility & contrast

On white

4.31
#867B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#867B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867B22
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867B22#FFFFFF#000000##000000
##867B221.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877713
Deuteranopia (green-blind)
#8A7C28
Tritanopia (blue-blind)
#91726A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #867b22;
/* rgb */ color: rgb(134, 123, 34);
/* oklch */ color: oklch(57.6% 0.107 102.1);
Tailwind
colors: {
  custom: {
    50: '#aca064',
    500: '#867b22',
    950: '#000000',
  },
}
SCSS
$custom: #867b22;
$custom-light: #aca064;
$custom-dark: #000000;
JSON
{
  "hex": "#867b22",
  "rgb": {
    "r": 134,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 53.4,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57623,
    "c": 0.1071,
    "h": 102.1
  },
  "luminance": 0.1935
}

Semantic roles & 50–950 ramp

primary
#867B22
secondary
#4E59B6
accent
#56E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #867B22

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

Preview Lab → · Contrast checker → · Palette generator →

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