#868C20#868C20

#868C20 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.5% C 0.126 H 112.8°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#868C20
RGBrgb(134, 140, 32)
HSLhsl(63, 63%, 34%)
HSVhsv(63, 77%, 55%)
CMYKcmyk(4.3%, 0%, 77.1%, 45.1%)
CIE-LABlab(56.02, -15.67, 52.74)
CIE-LCHlch(56.02, 55.02, 106.55°)
OKLaboklab(61.55% -0.0487 0.1158)
OKLCHoklch(61.55% 0.126 112.8)
XYZxyz(19.4709, 23.9292, 4.9593)
Luminance0.2393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868C20 #26208C
analogous
#8C5C20 #868C20 #508C20
triadic
#868C20 #20868C #8C2086
tetradic
#868C20 #208C5C #26208C #8C2050
square
#868C20 #208C5C #26208C #8C2050
split-complementary
#868C20 #20508C #5C208C
monochromatic
#272809 #565A15 #868C20 #B6BE2B #CFD750

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##868C20#FFFFFF#000000##000000
##868C201.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)
#978505
Deuteranopia (green-blind)
#978729
Tritanopia (blue-blind)
#8F8378
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #868c20;
/* rgb */ color: rgb(134, 140, 32);
/* oklch */ color: oklch(61.5% 0.126 112.8);
Tailwind
colors: {
  custom: {
    50: '#acad65',
    500: '#868c20',
    950: '#000000',
  },
}
SCSS
$custom: #868c20;
$custom-light: #acad65;
$custom-dark: #000000;
JSON
{
  "hex": "#868c20",
  "rgb": {
    "r": 134,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 63.333,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.61546,
    "c": 0.12557,
    "h": 112.8
  },
  "luminance": 0.23929
}

Semantic roles & 50–950 ramp

primary
#868C20
secondary
#544EBA
accent
#42E64B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868C20

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

Preview Lab → · Contrast checker → · Palette generator →

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