#867E23#867E23

#867E23 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.3% C 0.109 H 104.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#867E23
RGBrgb(134, 126, 35)
HSLhsl(55, 59%, 33%)
HSVhsv(55, 74%, 53%)
CMYKcmyk(0%, 6%, 73.9%, 47.5%)
CIE-LABlab(51.96, -7.98, 47.80)
CIE-LCHlch(51.96, 48.46, 99.47°)
OKLaboklab(58.32% -0.0268 0.1059)
OKLCHoklch(58.32% 0.109 104.2)
XYZxyz(17.5965, 20.1121, 4.5449)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867E23 #232B86
analogous
#864D23 #867E23 #5C8623
triadic
#867E23 #23867E #7E2386
tetradic
#867E23 #23864D #232B86 #86235C
square
#867E23 #23864D #232B86 #86235C
split-complementary
#867E23 #235C86 #4D2386
monochromatic
#25230A #555016 #867E23 #B7AC30 #D2C752

Accessibility & contrast

On white

4.18
#867E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#867E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867E23
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867E23#FFFFFF#000000##000000
##867E231.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A13
Deuteranopia (green-blind)
#8C7E29
Tritanopia (blue-blind)
#90756C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #867e23;
/* rgb */ color: rgb(134, 126, 35);
/* oklch */ color: oklch(58.3% 0.109 104.2);
Tailwind
colors: {
  custom: {
    50: '#aca365',
    500: '#867e23',
    950: '#000000',
  },
}
SCSS
$custom: #867e23;
$custom-light: #aca365;
$custom-dark: #000000;
JSON
{
  "hex": "#867e23",
  "rgb": {
    "r": 134,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 55.152,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58316,
    "c": 0.10922,
    "h": 104.2
  },
  "luminance": 0.20111
}

Semantic roles & 50–950 ramp

primary
#867E23
secondary
#4F58B5
accent
#53E246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #867E23

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

Preview Lab → · Contrast checker → · Palette generator →

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