#867C18#867C18

#867C18 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.8% C 0.114 H 103.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#867C18
RGBrgb(134, 124, 24)
HSLhsl(55, 70%, 31%)
HSVhsv(55, 82%, 53%)
CMYKcmyk(0%, 7.5%, 82.1%, 47.5%)
CIE-LABlab(51.32, -7.35, 51.11)
CIE-LCHlch(51.32, 51.64, 98.19°)
OKLaboklab(57.79% -0.0262 0.1107)
OKLCHoklch(57.79% 0.114 103.3)
XYZxyz(17.2048, 19.5503, 3.7313)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867C18 #182286
analogous
#864518 #867C18 #598618
triadic
#867C18 #18867C #7C1886
tetradic
#867C18 #188645 #182286 #861859
square
#867C18 #188645 #182286 #861859
split-complementary
#867C18 #185986 #451886
monochromatic
#1E1C05 #524C0F #867C18 #BAAC21 #DCCE3C

Accessibility & contrast

On white

4.28
#867C18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#867C18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867C18
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867C18#FFFFFF#000000##000000
##867C181.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#8B7C20
Tritanopia (blue-blind)
#91736A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #867c18;
/* rgb */ color: rgb(134, 124, 24);
/* oklch */ color: oklch(57.8% 0.114 103.3);
Tailwind
colors: {
  custom: {
    50: '#ada15f',
    500: '#867c18',
    950: '#000000',
  },
}
SCSS
$custom: #867c18;
$custom-light: #ada15f;
$custom-dark: #000000;
JSON
{
  "hex": "#867c18",
  "rgb": {
    "r": 134,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 54.545,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57788,
    "c": 0.11377,
    "h": 103.3
  },
  "luminance": 0.1955
}

Semantic roles & 50–950 ramp

primary
#867C18
secondary
#404BBA
accent
#4BEC3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #867C18

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

Preview Lab → · Contrast checker → · Palette generator →

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