#868918#868918

#868918 is a mid, vivid yellow. Relative luminance 0.230; OKLCH L 60.8% C 0.126 H 111.2°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#868918
RGBrgb(134, 137, 24)
HSLhsl(62, 70%, 32%)
HSVhsv(62, 82%, 54%)
CMYKcmyk(2.2%, 0%, 82.5%, 46.3%)
CIE-LABlab(55.10, -14.40, 54.42)
CIE-LCHlch(55.10, 56.29, 104.82°)
OKLaboklab(60.8% -0.0458 0.1178)
OKLCHoklch(60.8% 0.126 111.2)
XYZxyz(18.9427, 23.0261, 4.3106)
Luminance0.2303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868918 #1B1889
analogous
#895418 #868918 #4E8918
triadic
#868918 #188689 #891886
tetradic
#868918 #188954 #1B1889 #89184E
square
#868918 #188954 #1B1889 #89184E
split-complementary
#868918 #184E89 #541889
monochromatic
#202106 #53550F #868918 #B9BD21 #D9DD3E

Accessibility & contrast

On white

3.75
#868918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#868918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868918
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868918#FFFFFF#000000##000000
##8689181.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#958523
Tritanopia (blue-blind)
#908075
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #868918;
/* rgb */ color: rgb(134, 137, 24);
/* oklch */ color: oklch(60.8% 0.126 111.2);
Tailwind
colors: {
  custom: {
    50: '#adab61',
    500: '#868918',
    950: '#000000',
  },
}
SCSS
$custom: #868918;
$custom-light: #adab61;
$custom-dark: #000000;
JSON
{
  "hex": "#868918",
  "rgb": {
    "r": 134,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 61.593,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60799,
    "c": 0.12642,
    "h": 111.2
  },
  "luminance": 0.23026
}

Semantic roles & 50–950 ramp

primary
#868918
secondary
#4440BD
accent
#3BED40
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #868918

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

Preview Lab → · Contrast checker → · Palette generator →

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