#867F23#867F23

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

Color values

HEX#867F23
RGBrgb(134, 127, 35)
HSLhsl(56, 59%, 33%)
HSVhsv(56, 74%, 53%)
CMYKcmyk(0%, 5.2%, 73.9%, 47.5%)
CIE-LABlab(52.25, -8.53, 48.08)
CIE-LCHlch(52.25, 48.83, 100.06°)
OKLaboklab(58.55% -0.0284 0.1065)
OKLCHoklch(58.55% 0.11 104.9)
XYZxyz(17.7250, 20.3691, 4.5877)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867F23 #232A86
analogous
#864E23 #867F23 #5B8623
triadic
#867F23 #23867F #7F2386
tetradic
#867F23 #23864E #232A86 #86235B
square
#867F23 #23864E #232A86 #86235B
split-complementary
#867F23 #235B86 #4E2386
monochromatic
#25230A #555116 #867F23 #B7AD30 #D2C952

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #867f23;
/* rgb */ color: rgb(134, 127, 35);
/* oklch */ color: oklch(58.5% 0.110 104.9);
Tailwind
colors: {
  custom: {
    50: '#aca365',
    500: '#867f23',
    950: '#000000',
  },
}
SCSS
$custom: #867f23;
$custom-light: #aca365;
$custom-dark: #000000;
JSON
{
  "hex": "#867f23",
  "rgb": {
    "r": 134,
    "g": 127,
    "b": 35
  },
  "hsl": {
    "h": 55.758,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58546,
    "c": 0.11018,
    "h": 104.9
  },
  "luminance": 0.20368
}

Semantic roles & 50–950 ramp

primary
#867F23
secondary
#4F57B5
accent
#51E246
background
#FAFAF6
surface
#F5F3EB
border
#CFCDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #867F23

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

Preview Lab → · Contrast checker → · Palette generator →

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