#867D18#867D18

#867D18 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.0% C 0.115 H 104.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#867D18
RGBrgb(134, 125, 24)
HSLhsl(55, 70%, 31%)
HSVhsv(55, 82%, 53%)
CMYKcmyk(0%, 6.7%, 82.1%, 47.5%)
CIE-LABlab(51.61, -7.91, 51.37)
CIE-LCHlch(51.61, 51.97, 98.75°)
OKLaboklab(58.02% -0.0277 0.1113)
OKLCHoklch(58.02% 0.115 104)
XYZxyz(17.3308, 19.8022, 3.7733)
Luminance0.1980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867D18 #182186
analogous
#864618 #867D18 #588618
triadic
#867D18 #18867D #7D1886
tetradic
#867D18 #188646 #182186 #861858
square
#867D18 #188646 #182186 #861858
split-complementary
#867D18 #185886 #461886
monochromatic
#1E1C05 #524D0F #867D18 #BAAD21 #DCCF3C

Accessibility & contrast

On white

4.23
#867D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#867D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867D18
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867D18#FFFFFF#000000##000000
##867D181.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8C7D21
Tritanopia (blue-blind)
#91746B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #867d18;
/* rgb */ color: rgb(134, 125, 24);
/* oklch */ color: oklch(58.0% 0.115 104.0);
Tailwind
colors: {
  custom: {
    50: '#ada25f',
    500: '#867d18',
    950: '#000000',
  },
}
SCSS
$custom: #867d18;
$custom-light: #ada25f;
$custom-dark: #000000;
JSON
{
  "hex": "#867d18",
  "rgb": {
    "r": 134,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 55.091,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58017,
    "c": 0.11466,
    "h": 104
  },
  "luminance": 0.19802
}

Semantic roles & 50–950 ramp

primary
#867D18
secondary
#404ABA
accent
#4AEC3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79

Preview Lab

Preview with #867D18

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

Preview Lab → · Contrast checker → · Palette generator →

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