#867218#867218

#867218 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.5% C 0.106 H 95.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#867218
RGBrgb(134, 114, 24)
HSLhsl(49, 70%, 31%)
HSVhsv(49, 82%, 53%)
CMYKcmyk(0%, 14.9%, 82.1%, 47.5%)
CIE-LABlab(48.47, -1.74, 48.59)
CIE-LCHlch(48.47, 48.62, 92.05°)
OKLaboklab(55.53% -0.0104 0.1053)
OKLCHoklch(55.53% 0.106 95.6)
XYZxyz(16.0146, 17.1698, 3.3346)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867218 #182C86
analogous
#863B18 #867218 #638618
triadic
#867218 #188672 #721886
tetradic
#867218 #18863B #182C86 #861863
square
#867218 #18863B #182C86 #861863
split-complementary
#867218 #186386 #3B1886
monochromatic
#1E1A05 #52460F #867218 #BA9E21 #DCBF3C

Accessibility & contrast

On white

4.74
#867218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#867218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #867218
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867218#FFFFFF#000000##FFFFFF
##8672181.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7002
Deuteranopia (green-blind)
#84761E
Tritanopia (blue-blind)
#916861
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #867218;
/* rgb */ color: rgb(134, 114, 24);
/* oklch */ color: oklch(55.5% 0.106 95.6);
Tailwind
colors: {
  custom: {
    50: '#ad9a5e',
    500: '#867218',
    950: '#000000',
  },
}
SCSS
$custom: #867218;
$custom-light: #ad9a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#867218",
  "rgb": {
    "r": 134,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 49.091,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55526,
    "c": 0.10578,
    "h": 95.6
  },
  "luminance": 0.17169
}

Semantic roles & 50–950 ramp

primary
#867218
secondary
#4056BA
accent
#5CEC3B
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110E05
muted
#807E79

Preview Lab

Preview with #867218

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

Preview Lab → · Contrast checker → · Palette generator →

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