#868E20#868E20

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

Color values

HEX#868E20
RGBrgb(134, 142, 32)
HSLhsl(64, 63%, 34%)
HSVhsv(64, 77%, 56%)
CMYKcmyk(5.6%, 0%, 77.5%, 44.3%)
CIE-LABlab(56.60, -16.72, 53.28)
CIE-LCHlch(56.60, 55.85, 107.42°)
OKLaboklab(62.02% -0.0516 0.1169)
OKLCHoklch(62.02% 0.128 113.8)
XYZxyz(19.7658, 24.5190, 5.0576)
Luminance0.2452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868E20 #28208E
analogous
#8E5F20 #868E20 #4F8E20
triadic
#868E20 #20868E #8E2086
tetradic
#868E20 #208E5F #28208E #8E204F
square
#868E20 #208E5F #28208E #8E204F
split-complementary
#868E20 #204F8E #5F208E
monochromatic
#282A09 #575C15 #868E20 #B5C02B #CED851

Accessibility & contrast

On white

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

On black

5.90
#868E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868E20
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868E20#FFFFFF#000000##000000
##868E201.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998704
Deuteranopia (green-blind)
#99892A
Tritanopia (blue-blind)
#8F8579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #868e20;
/* rgb */ color: rgb(134, 142, 32);
/* oklch */ color: oklch(62.0% 0.128 113.8);
Tailwind
colors: {
  custom: {
    50: '#adae65',
    500: '#868e20',
    950: '#000000',
  },
}
SCSS
$custom: #868e20;
$custom-light: #adae65;
$custom-dark: #000000;
JSON
{
  "hex": "#868e20",
  "rgb": {
    "r": 134,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 64.364,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62017,
    "c": 0.12778,
    "h": 113.8
  },
  "luminance": 0.24519
}

Semantic roles & 50–950 ramp

primary
#868E20
secondary
#574FBB
accent
#42E64E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868E20

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

Preview Lab → · Contrast checker → · Palette generator →

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