#867D22#867D22

#867D22 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.1% C 0.109 H 103.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#867D22
RGBrgb(134, 125, 34)
HSLhsl(55, 60%, 33%)
HSVhsv(55, 75%, 53%)
CMYKcmyk(0%, 6.7%, 74.6%, 47.5%)
CIE-LABlab(51.67, -7.48, 47.91)
CIE-LCHlch(51.67, 48.49, 98.87°)
OKLaboklab(58.08% -0.0255 0.1059)
OKLCHoklch(58.08% 0.109 103.6)
XYZxyz(17.4546, 19.8518, 4.4254)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867D22 #222B86
analogous
#864B22 #867D22 #5D8622
triadic
#867D22 #22867D #7D2286
tetradic
#867D22 #22864B #222B86 #86225D
square
#867D22 #22864B #222B86 #86225D
split-complementary
#867D22 #225D86 #4B2286
monochromatic
#242209 #554F16 #867D22 #B7AB2E #D3C750

Accessibility & contrast

On white

4.23
#867D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#867D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867D22
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867D22#FFFFFF#000000##000000
##867D221.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897912
Deuteranopia (green-blind)
#8C7D28
Tritanopia (blue-blind)
#90746B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #867d22;
/* rgb */ color: rgb(134, 125, 34);
/* oklch */ color: oklch(58.1% 0.109 103.6);
Tailwind
colors: {
  custom: {
    50: '#aca264',
    500: '#867d22',
    950: '#000000',
  },
}
SCSS
$custom: #867d22;
$custom-light: #aca264;
$custom-dark: #000000;
JSON
{
  "hex": "#867d22",
  "rgb": {
    "r": 134,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 54.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5808,
    "c": 0.10894,
    "h": 103.6
  },
  "luminance": 0.19851
}

Semantic roles & 50–950 ramp

primary
#867D22
secondary
#4E57B6
accent
#53E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #867D22

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

Preview Lab → · Contrast checker → · Palette generator →

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