#868D22#868D22

#868D22 is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.8% C 0.126 H 113.3°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#868D22
RGBrgb(134, 141, 34)
HSLhsl(64, 61%, 34%)
HSVhsv(64, 76%, 55%)
CMYKcmyk(5%, 0%, 75.9%, 44.7%)
CIE-LABlab(56.32, -16.10, 52.34)
CIE-LCHlch(56.32, 54.76, 107.10°)
OKLaboklab(61.79% -0.0497 0.1153)
OKLCHoklch(61.79% 0.126 113.3)
XYZxyz(19.6457, 24.2340, 5.1558)
Luminance0.2423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868D22 #29228D
analogous
#8D5F22 #868D22 #518D22
triadic
#868D22 #22868D #8D2286
tetradic
#868D22 #228D5F #29228D #8D2251
square
#868D22 #228D5F #29228D #8D2251
split-complementary
#868D22 #22518D #5F228D
monochromatic
#282A0A #575C16 #868D22 #B5BE2E #CDD654

Accessibility & contrast

On white

3.59
#868D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#868D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868D22
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868D22#FFFFFF#000000##000000
##868D221.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98860A
Deuteranopia (green-blind)
#98882B
Tritanopia (blue-blind)
#8F8479
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #868d22;
/* rgb */ color: rgb(134, 141, 34);
/* oklch */ color: oklch(61.8% 0.126 113.3);
Tailwind
colors: {
  custom: {
    50: '#acae66',
    500: '#868d22',
    950: '#000000',
  },
}
SCSS
$custom: #868d22;
$custom-light: #acae66;
$custom-dark: #000000;
JSON
{
  "hex": "#868d22",
  "rgb": {
    "r": 134,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 63.925,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61794,
    "c": 0.12553,
    "h": 113.3
  },
  "luminance": 0.24234
}

Semantic roles & 50–950 ramp

primary
#868D22
secondary
#5851B9
accent
#44E44E
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868D22

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

Preview Lab → · Contrast checker → · Palette generator →

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