#868E22#868E22

#868E22 is a light, vivid yellow. Relative luminance 0.245; OKLCH L 62.0% C 0.127 H 113.8°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#868E22
RGBrgb(134, 142, 34)
HSLhsl(64, 61%, 35%)
HSVhsv(64, 76%, 56%)
CMYKcmyk(5.6%, 0%, 76.1%, 44.3%)
CIE-LABlab(56.61, -16.63, 52.61)
CIE-LCHlch(56.61, 55.18, 107.54°)
OKLaboklab(62.03% -0.0511 0.1159)
OKLCHoklch(62.03% 0.127 113.8)
XYZxyz(19.7938, 24.5302, 5.2052)
Luminance0.2453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868E22 #2A228E
analogous
#8E6022 #868E22 #508E22
triadic
#868E22 #22868E #8E2286
tetradic
#868E22 #228E60 #2A228E #8E2250
square
#868E22 #228E60 #2A228E #8E2250
split-complementary
#868E22 #22508E #60228E
monochromatic
#292B0A #575D16 #868E22 #B5BF2E #CDD654

Accessibility & contrast

On white

3.56
#868E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#868E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868E22
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868E22#FFFFFF#000000##000000
##868E221.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870A
Deuteranopia (green-blind)
#99892B
Tritanopia (blue-blind)
#8F857A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #868e22;
/* rgb */ color: rgb(134, 142, 34);
/* oklch */ color: oklch(62.0% 0.127 113.8);
Tailwind
colors: {
  custom: {
    50: '#acae66',
    500: '#868e22',
    950: '#000000',
  },
}
SCSS
$custom: #868e22;
$custom-light: #acae66;
$custom-dark: #000000;
JSON
{
  "hex": "#868e22",
  "rgb": {
    "r": 134,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 64.444,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62029,
    "c": 0.12664,
    "h": 113.8
  },
  "luminance": 0.2453
}

Semantic roles & 50–950 ramp

primary
#868E22
secondary
#5A52BA
accent
#43E44F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868E22

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

Preview Lab → · Contrast checker → · Palette generator →

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