#868C23#868C23

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

Color values

HEX#868C23
RGBrgb(134, 140, 35)
HSLhsl(63, 60%, 34%)
HSVhsv(63, 75%, 55%)
CMYKcmyk(4.3%, 0%, 75%, 45.1%)
CIE-LABlab(56.03, -15.53, 51.71)
CIE-LCHlch(56.03, 53.99, 106.71°)
OKLaboklab(61.57% -0.048 0.1141)
OKLCHoklch(61.57% 0.124 112.8)
XYZxyz(19.5136, 23.9463, 5.1839)
Luminance0.2395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868C23 #29238C
analogous
#8C5E23 #868C23 #518C23
triadic
#868C23 #23868C #8C2386
tetradic
#868C23 #238C5E #29238C #8C2351
square
#868C23 #238C5E #29238C #8C2351
split-complementary
#868C23 #23518C #5E238C
monochromatic
#282A0B #575B17 #868C23 #B5BD2F #CDD455

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##868C23#FFFFFF#000000##000000
##868C231.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)
#97850D
Deuteranopia (green-blind)
#97872C
Tritanopia (blue-blind)
#8F8378
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #868c23;
/* rgb */ color: rgb(134, 140, 35);
/* oklch */ color: oklch(61.6% 0.124 112.8);
Tailwind
colors: {
  custom: {
    50: '#acad66',
    500: '#868c23',
    950: '#000000',
  },
}
SCSS
$custom: #868c23;
$custom-light: #acad66;
$custom-dark: #000000;
JSON
{
  "hex": "#868c23",
  "rgb": {
    "r": 134,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 63.429,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61566,
    "c": 0.12381,
    "h": 112.8
  },
  "luminance": 0.23946
}

Semantic roles & 50–950 ramp

primary
#868C23
secondary
#5852B8
accent
#45E34E
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868C23

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

Preview Lab → · Contrast checker → · Palette generator →

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