#867B18#867B18

#867B18 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.6% C 0.113 H 102.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#867B18
RGBrgb(134, 123, 24)
HSLhsl(54, 70%, 31%)
HSVhsv(54, 82%, 53%)
CMYKcmyk(0%, 8.2%, 82.1%, 47.5%)
CIE-LABlab(51.04, -6.80, 50.86)
CIE-LCHlch(51.04, 51.31, 97.61°)
OKLaboklab(57.56% -0.0246 0.1102)
OKLCHoklch(57.56% 0.113 102.6)
XYZxyz(17.0802, 19.3010, 3.6898)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867B18 #182386
analogous
#864418 #867B18 #5A8618
triadic
#867B18 #18867B #7B1886
tetradic
#867B18 #188644 #182386 #86185A
square
#867B18 #188644 #182386 #86185A
split-complementary
#867B18 #185A86 #441886
monochromatic
#1E1C05 #524B0F #867B18 #BAAB21 #DCCC3C

Accessibility & contrast

On white

4.32
#867B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#867B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867B18
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867B18#FFFFFF#000000##000000
##867B181.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#8A7C20
Tritanopia (blue-blind)
#917269
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #867b18;
/* rgb */ color: rgb(134, 123, 24);
/* oklch */ color: oklch(57.6% 0.113 102.6);
Tailwind
colors: {
  custom: {
    50: '#ada05f',
    500: '#867b18',
    950: '#000000',
  },
}
SCSS
$custom: #867b18;
$custom-light: #ada05f;
$custom-dark: #000000;
JSON
{
  "hex": "#867b18",
  "rgb": {
    "r": 134,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 54,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57559,
    "c": 0.11289,
    "h": 102.6
  },
  "luminance": 0.193
}

Semantic roles & 50–950 ramp

primary
#867B18
secondary
#404CBA
accent
#4DEC3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #867B18

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

Preview Lab → · Contrast checker → · Palette generator →

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