#868D18#868D18

#868D18 is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.7% C 0.131 H 113.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#868D18
RGBrgb(134, 141, 24)
HSLhsl(64, 71%, 32%)
HSVhsv(64, 83%, 55%)
CMYKcmyk(5%, 0%, 83%, 44.7%)
CIE-LABlab(56.27, -16.51, 55.44)
CIE-LCHlch(56.27, 57.85, 106.58°)
OKLaboklab(61.74% -0.0516 0.12)
OKLCHoklch(61.74% 0.131 113.3)
XYZxyz(19.5219, 24.1845, 4.5037)
Luminance0.2418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868D18 #1F188D
analogous
#8D5A18 #868D18 #4B8D18
triadic
#868D18 #18868D #8D1886
tetradic
#868D18 #188D5A #1F188D #8D184B
square
#868D18 #188D5A #1F188D #8D184B
split-complementary
#868D18 #184B8D #5A188D
monochromatic
#232406 #54590F #868D18 #B8C121 #D5DF41

Accessibility & contrast

On white

3.60
#868D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#868D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868D18
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868D18#FFFFFF#000000##000000
##868D181.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#988824
Tritanopia (blue-blind)
#908478
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #868d18;
/* rgb */ color: rgb(134, 141, 24);
/* oklch */ color: oklch(61.7% 0.131 113.3);
Tailwind
colors: {
  custom: {
    50: '#adae62',
    500: '#868d18',
    950: '#000000',
  },
}
SCSS
$custom: #868d18;
$custom-light: #adae62;
$custom-dark: #000000;
JSON
{
  "hex": "#868d18",
  "rgb": {
    "r": 134,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 63.59,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61739,
    "c": 0.13067,
    "h": 113.3
  },
  "luminance": 0.24184
}

Semantic roles & 50–950 ramp

primary
#868D18
secondary
#4942BF
accent
#3AEE45
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868D18

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

Preview Lab → · Contrast checker → · Palette generator →

#868D18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva