#867818#867818

#867818 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.9% C 0.110 H 100.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#867818
RGBrgb(134, 120, 24)
HSLhsl(52, 70%, 31%)
HSVhsv(52, 82%, 53%)
CMYKcmyk(0%, 10.4%, 82.1%, 47.5%)
CIE-LABlab(50.18, -5.13, 50.10)
CIE-LCHlch(50.18, 50.36, 95.84°)
OKLaboklab(56.88% -0.0199 0.1085)
OKLCHoklch(56.88% 0.11 100.4)
XYZxyz(16.7137, 18.5680, 3.5676)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867818 #182686
analogous
#864118 #867818 #5D8618
triadic
#867818 #188678 #781886
tetradic
#867818 #188641 #182686 #86185D
square
#867818 #188641 #182686 #86185D
split-complementary
#867818 #185D86 #411886
monochromatic
#1E1B05 #524A0F #867818 #BAA621 #DCC83C

Accessibility & contrast

On white

4.46
#867818 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#867818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867818
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867818#FFFFFF#000000##000000
##8678181.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#887A20
Tritanopia (blue-blind)
#916F66
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #867818;
/* rgb */ color: rgb(134, 120, 24);
/* oklch */ color: oklch(56.9% 0.110 100.4);
Tailwind
colors: {
  custom: {
    50: '#ad9e5f',
    500: '#867818',
    950: '#000000',
  },
}
SCSS
$custom: #867818;
$custom-light: #ad9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#867818",
  "rgb": {
    "r": 134,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 52.364,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56877,
    "c": 0.11034,
    "h": 100.4
  },
  "luminance": 0.18567
}

Semantic roles & 50–950 ramp

primary
#867818
secondary
#4050BA
accent
#52EC3B
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #867818

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

Preview Lab → · Contrast checker → · Palette generator →

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