#868A18#868A18

#868A18 is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 61.0% C 0.127 H 111.8°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#868A18
RGBrgb(134, 138, 24)
HSLhsl(62, 70%, 32%)
HSVhsv(62, 83%, 54%)
CMYKcmyk(2.9%, 0%, 82.6%, 45.9%)
CIE-LABlab(55.39, -14.93, 54.68)
CIE-LCHlch(55.39, 56.68, 105.28°)
OKLaboklab(61.03% -0.0473 0.1184)
OKLCHoklch(61.03% 0.127 111.8)
XYZxyz(19.0855, 23.3117, 4.3582)
Luminance0.2331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868A18 #1C188A
analogous
#8A5518 #868A18 #4D8A18
triadic
#868A18 #18868A #8A1886
tetradic
#868A18 #188A55 #1C188A #8A184D
square
#868A18 #188A55 #1C188A #8A184D
split-complementary
#868A18 #184D8A #55188A
monochromatic
#212206 #53560F #868A18 #B9BE21 #D8DE3F

Accessibility & contrast

On white

3.71
#868A18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#868A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868A18
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868A18#FFFFFF#000000##000000
##868A181.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#968623
Tritanopia (blue-blind)
#908176
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #868a18;
/* rgb */ color: rgb(134, 138, 24);
/* oklch */ color: oklch(61.0% 0.127 111.8);
Tailwind
colors: {
  custom: {
    50: '#adab61',
    500: '#868a18',
    950: '#000000',
  },
}
SCSS
$custom: #868a18;
$custom-light: #adab61;
$custom-dark: #000000;
JSON
{
  "hex": "#868a18",
  "rgb": {
    "r": 134,
    "g": 138,
    "b": 24
  },
  "hsl": {
    "h": 62.105,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61034,
    "c": 0.12747,
    "h": 111.8
  },
  "luminance": 0.23311
}

Semantic roles & 50–950 ramp

primary
#868A18
secondary
#4540BD
accent
#3BED41
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #868A18

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

Preview Lab → · Contrast checker → · Palette generator →

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