#867A28#867A28

#867A28 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.4% C 0.102 H 100.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#867A28
RGBrgb(134, 122, 40)
HSLhsl(52, 54%, 34%)
HSVhsv(52, 70%, 53%)
CMYKcmyk(0%, 9%, 70.1%, 47.5%)
CIE-LABlab(50.85, -5.48, 44.62)
CIE-LCHlch(50.85, 44.96, 97.00°)
OKLaboklab(57.44% -0.0192 0.1001)
OKLCHoklch(57.44% 0.102 100.9)
XYZxyz(17.1748, 19.1414, 4.7971)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867A28 #283486
analogous
#864B28 #867A28 #638628
triadic
#867A28 #28867A #7A2886
tetradic
#867A28 #28864B #283486 #862863
square
#867A28 #28864B #283486 #862863
split-complementary
#867A28 #286386 #4B2886
monochromatic
#28240C #574F1A #867A28 #B5A536 #CEBF5B

Accessibility & contrast

On white

4.35
#867A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#867A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867A28
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867A28#FFFFFF#000000##000000
##867A281.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86761D
Deuteranopia (green-blind)
#897B2D
Tritanopia (blue-blind)
#907169
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #867a28;
/* rgb */ color: rgb(134, 122, 40);
/* oklch */ color: oklch(57.4% 0.102 100.9);
Tailwind
colors: {
  custom: {
    50: '#aca067',
    500: '#867a28',
    950: '#000000',
  },
}
SCSS
$custom: #867a28;
$custom-light: #aca067;
$custom-dark: #000000;
JSON
{
  "hex": "#867a28",
  "rgb": {
    "r": 134,
    "g": 122,
    "b": 40
  },
  "hsl": {
    "h": 52.34,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57444,
    "c": 0.10193,
    "h": 100.9
  },
  "luminance": 0.19141
}

Semantic roles & 50–950 ramp

primary
#867A28
secondary
#5763B3
accent
#5DDD4A
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #867A28

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

Preview Lab → · Contrast checker → · Palette generator →

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