#868018#868018

#868018 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.7% C 0.117 H 106.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#868018
RGBrgb(134, 128, 24)
HSLhsl(57, 70%, 31%)
HSVhsv(57, 82%, 53%)
CMYKcmyk(0%, 4.5%, 82.1%, 47.5%)
CIE-LABlab(52.48, -9.55, 52.13)
CIE-LCHlch(52.48, 53.00, 100.39°)
OKLaboklab(58.71% -0.0323 0.1129)
OKLCHoklch(58.71% 0.117 106)
XYZxyz(17.7163, 20.5733, 3.9018)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868018 #181E86
analogous
#864918 #868018 #558618
triadic
#868018 #188680 #801886
tetradic
#868018 #188649 #181E86 #861855
square
#868018 #188649 #181E86 #861855
split-complementary
#868018 #185586 #491886
monochromatic
#1E1D05 #524E0F #868018 #BAB221 #DCD33C

Accessibility & contrast

On white

4.11
#868018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#868018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868018
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868018#FFFFFF#000000##000000
##8680181.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8E7F21
Tritanopia (blue-blind)
#91776D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #868018;
/* rgb */ color: rgb(134, 128, 24);
/* oklch */ color: oklch(58.7% 0.117 106.0);
Tailwind
colors: {
  custom: {
    50: '#ada460',
    500: '#868018',
    950: '#000000',
  },
}
SCSS
$custom: #868018;
$custom-light: #ada460;
$custom-dark: #000000;
JSON
{
  "hex": "#868018",
  "rgb": {
    "r": 134,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 56.727,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58707,
    "c": 0.11744,
    "h": 106
  },
  "luminance": 0.20573
}

Semantic roles & 50–950 ramp

primary
#868018
secondary
#4047BA
accent
#45EC3B
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #868018

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

Preview Lab → · Contrast checker → · Palette generator →

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