#868C22#868C22

#868C22 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#868C22
RGBrgb(134, 140, 34)
HSLhsl(63, 61%, 34%)
HSVhsv(63, 76%, 55%)
CMYKcmyk(4.3%, 0%, 75.7%, 45.1%)
CIE-LABlab(56.03, -15.57, 52.06)
CIE-LCHlch(56.03, 54.34, 106.66°)
OKLaboklab(61.56% -0.0482 0.1147)
OKLCHoklch(61.56% 0.124 112.8)
XYZxyz(19.4990, 23.9404, 5.1069)
Luminance0.2394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868C22 #28228C
analogous
#8C5D22 #868C22 #518C22
triadic
#868C22 #22868C #8C2286
tetradic
#868C22 #228C5D #28228C #8C2251
square
#868C22 #228C5D #28228C #8C2251
split-complementary
#868C22 #22518C #5D228C
monochromatic
#282A0A #575B16 #868C22 #B5BD2E #CED553

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #868c22;
/* rgb */ color: rgb(134, 140, 34);
/* oklch */ color: oklch(61.6% 0.124 112.8);
Tailwind
colors: {
  custom: {
    50: '#acad66',
    500: '#868c22',
    950: '#000000',
  },
}
SCSS
$custom: #868c22;
$custom-light: #acad66;
$custom-dark: #000000;
JSON
{
  "hex": "#868c22",
  "rgb": {
    "r": 134,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 63.396,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.61559,
    "c": 0.12441,
    "h": 112.8
  },
  "luminance": 0.2394
}

Semantic roles & 50–950 ramp

primary
#868C22
secondary
#5751B9
accent
#44E44D
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868C22

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

Preview Lab → · Contrast checker → · Palette generator →

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