#867E18#867E18

#867E18 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.2% C 0.116 H 104.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#867E18
RGBrgb(134, 126, 24)
HSLhsl(56, 70%, 31%)
HSVhsv(56, 82%, 53%)
CMYKcmyk(0%, 6%, 82.1%, 47.5%)
CIE-LABlab(51.90, -8.46, 51.62)
CIE-LCHlch(51.90, 52.31, 99.30°)
OKLaboklab(58.25% -0.0293 0.1118)
OKLCHoklch(58.25% 0.116 104.7)
XYZxyz(17.4580, 20.0567, 3.8157)
Luminance0.2006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867E18 #182086
analogous
#864718 #867E18 #578618
triadic
#867E18 #18867E #7E1886
tetradic
#867E18 #188647 #182086 #861857
square
#867E18 #188647 #182086 #861857
split-complementary
#867E18 #185786 #471886
monochromatic
#1E1C05 #524D0F #867E18 #BAAF21 #DCD03C

Accessibility & contrast

On white

4.19
#867E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#867E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867E18
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867E18#FFFFFF#000000##000000
##867E181.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8D7E21
Tritanopia (blue-blind)
#91756B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #867e18;
/* rgb */ color: rgb(134, 126, 24);
/* oklch */ color: oklch(58.2% 0.116 104.7);
Tailwind
colors: {
  custom: {
    50: '#ada35f',
    500: '#867e18',
    950: '#000000',
  },
}
SCSS
$custom: #867e18;
$custom-light: #ada35f;
$custom-dark: #000000;
JSON
{
  "hex": "#867e18",
  "rgb": {
    "r": 134,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 55.636,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58247,
    "c": 0.11558,
    "h": 104.7
  },
  "luminance": 0.20056
}

Semantic roles & 50–950 ramp

primary
#867E18
secondary
#4049BA
accent
#48EC3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79

Preview Lab

Preview with #867E18

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

Preview Lab → · Contrast checker → · Palette generator →

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