#867018#867018

#867018 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 55.1% C 0.104 H 93.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#867018
RGBrgb(134, 112, 24)
HSLhsl(48, 70%, 31%)
HSVhsv(48, 82%, 53%)
CMYKcmyk(0%, 16.4%, 82.1%, 47.5%)
CIE-LABlab(47.91, -0.60, 48.08)
CIE-LCHlch(47.91, 48.09, 90.72°)
OKLaboklab(55.08% -0.0071 0.1042)
OKLCHoklch(55.08% 0.104 93.9)
XYZxyz(15.7915, 16.7236, 3.2602)
Luminance0.1672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867018 #182E86
analogous
#863918 #867018 #658618
triadic
#867018 #188670 #701886
tetradic
#867018 #188639 #182E86 #861865
square
#867018 #188639 #182E86 #861865
split-complementary
#867018 #186586 #391886
monochromatic
#1E1905 #52450F #867018 #BA9B21 #DCBC3C

Accessibility & contrast

On white

4.83
#867018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#867018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #867018
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867018#FFFFFF#000000##FFFFFF
##8670181.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E03
Deuteranopia (green-blind)
#82741E
Tritanopia (blue-blind)
#916660
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #867018;
/* rgb */ color: rgb(134, 112, 24);
/* oklch */ color: oklch(55.1% 0.104 93.9);
Tailwind
colors: {
  custom: {
    50: '#ad985d',
    500: '#867018',
    950: '#000000',
  },
}
SCSS
$custom: #867018;
$custom-light: #ad985d;
$custom-dark: #000000;
JSON
{
  "hex": "#867018",
  "rgb": {
    "r": 134,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 48,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5508,
    "c": 0.10443,
    "h": 93.9
  },
  "luminance": 0.16723
}

Semantic roles & 50–950 ramp

primary
#867018
secondary
#4058BA
accent
#5FEC3B
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #867018

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

Preview Lab → · Contrast checker → · Palette generator →

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