#868C18#868C18

#868C18 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.5% C 0.130 H 112.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#868C18
RGBrgb(134, 140, 24)
HSLhsl(63, 71%, 32%)
HSVhsv(63, 83%, 55%)
CMYKcmyk(4.3%, 0%, 82.9%, 45.1%)
CIE-LABlab(55.98, -15.99, 55.19)
CIE-LCHlch(55.98, 57.45, 106.16°)
OKLaboklab(61.5% -0.0502 0.1195)
OKLCHoklch(61.5% 0.13 112.8)
XYZxyz(19.3751, 23.8909, 4.4547)
Luminance0.2389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868C18 #1E188C
analogous
#8C5818 #868C18 #4C8C18
triadic
#868C18 #18868C #8C1886
tetradic
#868C18 #188C58 #1E188C #8C184C
square
#868C18 #188C58 #1E188C #8C184C
split-complementary
#868C18 #184C8C #58188C
monochromatic
#222406 #54580F #868C18 #B8C021 #D6DE40

Accessibility & contrast

On white

3.63
#868C18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#868C18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868C18
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868C18#FFFFFF#000000##000000
##868C181.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#978724
Tritanopia (blue-blind)
#908377
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #868c18;
/* rgb */ color: rgb(134, 140, 24);
/* oklch */ color: oklch(61.5% 0.130 112.8);
Tailwind
colors: {
  custom: {
    50: '#adad61',
    500: '#868c18',
    950: '#000000',
  },
}
SCSS
$custom: #868c18;
$custom-light: #adad61;
$custom-dark: #000000;
JSON
{
  "hex": "#868c18",
  "rgb": {
    "r": 134,
    "g": 140,
    "b": 24
  },
  "hsl": {
    "h": 63.103,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61503,
    "c": 0.12959,
    "h": 112.8
  },
  "luminance": 0.2389
}

Semantic roles & 50–950 ramp

primary
#868C18
secondary
#4741BF
accent
#3AED44
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868C18

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

Preview Lab → · Contrast checker → · Palette generator →

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