#868C24#868C24

#868C24 is a mid, vivid yellow. Relative luminance 0.240; OKLCH L 61.6% C 0.123 H 112.8°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#868C24
RGBrgb(134, 140, 36)
HSLhsl(63, 59%, 35%)
HSVhsv(63, 74%, 55%)
CMYKcmyk(4.3%, 0%, 74.3%, 45.1%)
CIE-LABlab(56.04, -15.48, 51.35)
CIE-LCHlch(56.04, 53.63, 106.77°)
OKLaboklab(61.57% -0.0478 0.1136)
OKLCHoklch(61.57% 0.123 112.8)
XYZxyz(19.5286, 23.9523, 5.2633)
Luminance0.2395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868C24 #2A248C
analogous
#8C5E24 #868C24 #528C24
triadic
#868C24 #24868C #8C2486
tetradic
#868C24 #248C5E #2A248C #8C2452
square
#868C24 #248C5E #2A248C #8C2452
split-complementary
#868C24 #24528C #5E248C
monochromatic
#292B0B #575B17 #868C24 #B5BD31 #CDD457

Accessibility & contrast

On white

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

On black

5.79
#868C24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868C24
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868C24#FFFFFF#000000##000000
##868C241.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978510
Deuteranopia (green-blind)
#97872C
Tritanopia (blue-blind)
#8F8378
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #868c24;
/* rgb */ color: rgb(134, 140, 36);
/* oklch */ color: oklch(61.6% 0.123 112.8);
Tailwind
colors: {
  custom: {
    50: '#acad67',
    500: '#868c24',
    950: '#000000',
  },
}
SCSS
$custom: #868c24;
$custom-light: #acad67;
$custom-dark: #000000;
JSON
{
  "hex": "#868c24",
  "rgb": {
    "r": 134,
    "g": 140,
    "b": 36
  },
  "hsl": {
    "h": 63.462,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61572,
    "c": 0.12319,
    "h": 112.8
  },
  "luminance": 0.23952
}

Semantic roles & 50–950 ramp

primary
#868C24
secondary
#5A54B8
accent
#46E24F
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868C24

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

Preview Lab → · Contrast checker → · Palette generator →

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