#867918#867918

#867918 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.1% C 0.111 H 101.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#867918
RGBrgb(134, 121, 24)
HSLhsl(53, 70%, 31%)
HSVhsv(53, 82%, 53%)
CMYKcmyk(0%, 9.7%, 82.1%, 47.5%)
CIE-LABlab(50.46, -5.69, 50.35)
CIE-LCHlch(50.46, 50.67, 96.44°)
OKLaboklab(57.1% -0.0215 0.1091)
OKLCHoklch(57.1% 0.111 101.1)
XYZxyz(16.8346, 18.8098, 3.6079)
Luminance0.1881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867918 #182586
analogous
#864218 #867918 #5C8618
triadic
#867918 #188679 #791886
tetradic
#867918 #188642 #182586 #86185C
square
#867918 #188642 #182586 #86185C
split-complementary
#867918 #185C86 #421886
monochromatic
#1E1B05 #524A0F #867918 #BAA821 #DCC93C

Accessibility & contrast

On white

4.41
#867918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#867918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867918
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867918#FFFFFF#000000##000000
##8679181.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#897A20
Tritanopia (blue-blind)
#917067
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #867918;
/* rgb */ color: rgb(134, 121, 24);
/* oklch */ color: oklch(57.1% 0.111 101.1);
Tailwind
colors: {
  custom: {
    50: '#ad9f5f',
    500: '#867918',
    950: '#000000',
  },
}
SCSS
$custom: #867918;
$custom-light: #ad9f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#867918",
  "rgb": {
    "r": 134,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 52.909,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57104,
    "c": 0.11118,
    "h": 101.1
  },
  "luminance": 0.18809
}

Semantic roles & 50–950 ramp

primary
#867918
secondary
#404EBA
accent
#50EC3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #867918

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

Preview Lab → · Contrast checker → · Palette generator →

#867918 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva