#867F22#867F22

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

Color values

HEX#867F22
RGBrgb(134, 127, 34)
HSLhsl(56, 60%, 33%)
HSVhsv(56, 75%, 53%)
CMYKcmyk(0%, 5.2%, 74.6%, 47.5%)
CIE-LABlab(52.25, -8.58, 48.46)
CIE-LCHlch(52.25, 49.22, 100.04°)
OKLaboklab(58.54% -0.0286 0.1071)
OKLCHoklch(58.54% 0.111 105)
XYZxyz(17.7104, 20.3633, 4.5107)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867F22 #222986
analogous
#864D22 #867F22 #5B8622
triadic
#867F22 #22867F #7F2286
tetradic
#867F22 #22864D #222986 #86225B
square
#867F22 #22864D #222986 #86225B
split-complementary
#867F22 #225B86 #4D2286
monochromatic
#242209 #555116 #867F22 #B7AD2E #D3C950

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##867F22#FFFFFF#000000##000000
##867F221.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)
#8B7A11
Deuteranopia (green-blind)
#8D7E29
Tritanopia (blue-blind)
#90766D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #867f22;
/* rgb */ color: rgb(134, 127, 34);
/* oklch */ color: oklch(58.5% 0.111 105.0);
Tailwind
colors: {
  custom: {
    50: '#aca364',
    500: '#867f22',
    950: '#000000',
  },
}
SCSS
$custom: #867f22;
$custom-light: #aca364;
$custom-dark: #000000;
JSON
{
  "hex": "#867f22",
  "rgb": {
    "r": 134,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 55.8,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58538,
    "c": 0.11085,
    "h": 105
  },
  "luminance": 0.20363
}

Semantic roles & 50–950 ramp

primary
#867F22
secondary
#4E55B6
accent
#50E345
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #867F22

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

Preview Lab → · Contrast checker → · Palette generator →

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