#868F20#868F20

#868F20 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.3% C 0.129 H 114.3°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#868F20
RGBrgb(134, 143, 32)
HSLhsl(65, 63%, 34%)
HSVhsv(65, 78%, 56%)
CMYKcmyk(6.3%, 0%, 77.6%, 43.9%)
CIE-LABlab(56.90, -17.24, 53.56)
CIE-LCHlch(56.90, 56.26, 107.84°)
OKLaboklab(62.25% -0.053 0.1175)
OKLCHoklch(62.25% 0.129 114.3)
XYZxyz(19.9153, 24.8179, 5.1075)
Luminance0.2482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868F20 #29208F
analogous
#8F6120 #868F20 #4F8F20
triadic
#868F20 #20868F #8F2086
tetradic
#868F20 #208F61 #29208F #8F204F
square
#868F20 #208F61 #29208F #8F204F
split-complementary
#868F20 #204F8F #61208F
monochromatic
#282B0A #575D15 #868F20 #B5C12B #CDD851

Accessibility & contrast

On white

3.52
#868F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#868F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868F20
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868F20#FFFFFF#000000##000000
##868F201.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8803
Deuteranopia (green-blind)
#998A2A
Tritanopia (blue-blind)
#8F867A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #868f20;
/* rgb */ color: rgb(134, 143, 32);
/* oklch */ color: oklch(62.3% 0.129 114.3);
Tailwind
colors: {
  custom: {
    50: '#adaf65',
    500: '#868f20',
    950: '#000000',
  },
}
SCSS
$custom: #868f20;
$custom-light: #adaf65;
$custom-dark: #000000;
JSON
{
  "hex": "#868f20",
  "rgb": {
    "r": 134,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 64.865,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.62252,
    "c": 0.1289,
    "h": 114.3
  },
  "luminance": 0.24818
}

Semantic roles & 50–950 ramp

primary
#868F20
secondary
#584FBB
accent
#41E64F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868F20

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

Preview Lab → · Contrast checker → · Palette generator →

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