#867A2F#867A2F

#867A2F is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.5% C 0.096 H 100.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#867A2F
RGBrgb(134, 122, 47)
HSLhsl(52, 48%, 35%)
HSVhsv(52, 65%, 53%)
CMYKcmyk(0%, 9%, 64.9%, 47.5%)
CIE-LABlab(50.91, -5.03, 41.52)
CIE-LCHlch(50.91, 41.82, 96.91°)
OKLaboklab(57.51% -0.0171 0.0947)
OKLCHoklch(57.51% 0.096 100.2)
XYZxyz(17.3048, 19.1934, 5.4819)
Luminance0.1919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867A2F #2F3B86
analogous
#864E2F #867A2F #66862F
triadic
#867A2F #2F867A #7A2F86
tetradic
#867A2F #2F864E #2F3B86 #862F66
square
#867A2F #2F864E #2F3B86 #862F66
split-complementary
#867A2F #2F6686 #4E2F86
monochromatic
#2B270F #59511F #867A2F #B3A33F #C9BC66

Accessibility & contrast

On white

4.34
#867A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#867A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867A2F
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867A2F#FFFFFF#000000##000000
##867A2F1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#857726
Deuteranopia (green-blind)
#897B33
Tritanopia (blue-blind)
#90716A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #867a2f;
/* rgb */ color: rgb(134, 122, 47);
/* oklch */ color: oklch(57.5% 0.096 100.2);
Tailwind
colors: {
  custom: {
    50: '#aca06b',
    500: '#867a2f',
    950: '#000000',
  },
}
SCSS
$custom: #867a2f;
$custom-light: #aca06b;
$custom-dark: #000000;
JSON
{
  "hex": "#867a2f",
  "rgb": {
    "r": 134,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 51.724,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57512,
    "c": 0.09623,
    "h": 100.2
  },
  "luminance": 0.19193
}

Semantic roles & 50–950 ramp

primary
#867A2F
secondary
#606CB0
accent
#63D850
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #867A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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