#867F18#867F18

#867F18 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.5% C 0.117 H 105.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#867F18
RGBrgb(134, 127, 24)
HSLhsl(56, 70%, 31%)
HSVhsv(56, 82%, 53%)
CMYKcmyk(0%, 5.2%, 82.1%, 47.5%)
CIE-LABlab(52.19, -9.01, 51.88)
CIE-LCHlch(52.19, 52.65, 99.85°)
OKLaboklab(58.48% -0.0308 0.1124)
OKLCHoklch(58.48% 0.117 105.3)
XYZxyz(17.5865, 20.3137, 3.8585)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867F18 #181F86
analogous
#864818 #867F18 #568618
triadic
#867F18 #18867F #7F1886
tetradic
#867F18 #188648 #181F86 #861856
square
#867F18 #188648 #181F86 #861856
split-complementary
#867F18 #185686 #481886
monochromatic
#1E1D05 #524E0F #867F18 #BAB021 #DCD23C

Accessibility & contrast

On white

4.15
#867F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#867F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #867F18
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867F18#FFFFFF#000000##000000
##867F181.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8D7E21
Tritanopia (blue-blind)
#91766C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #867f18;
/* rgb */ color: rgb(134, 127, 24);
/* oklch */ color: oklch(58.5% 0.117 105.3);
Tailwind
colors: {
  custom: {
    50: '#ada360',
    500: '#867f18',
    950: '#000000',
  },
}
SCSS
$custom: #867f18;
$custom-light: #ada360;
$custom-dark: #000000;
JSON
{
  "hex": "#867f18",
  "rgb": {
    "r": 134,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 56.182,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58477,
    "c": 0.1165,
    "h": 105.3
  },
  "luminance": 0.20313
}

Semantic roles & 50–950 ramp

primary
#867F18
secondary
#4048BA
accent
#47EC3B
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #867F18

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

Preview Lab → · Contrast checker → · Palette generator →

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