#868B20#868B20

#868B20 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.3% C 0.124 H 112.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#868B20
RGBrgb(134, 139, 32)
HSLhsl(63, 63%, 34%)
HSVhsv(63, 77%, 55%)
CMYKcmyk(3.6%, 0%, 77%, 45.5%)
CIE-LABlab(55.72, -15.14, 52.47)
CIE-LCHlch(55.72, 54.61, 106.10°)
OKLaboklab(61.31% -0.0472 0.1152)
OKLCHoklch(61.31% 0.124 112.3)
XYZxyz(19.3255, 23.6383, 4.9109)
Luminance0.2364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868B20 #25208B
analogous
#8B5A20 #868B20 #508B20
triadic
#868B20 #20868B #8B2086
tetradic
#868B20 #208B5A #25208B #8B2050
square
#868B20 #208B5A #25208B #8B2050
split-complementary
#868B20 #20508B #5A208B
monochromatic
#262809 #565915 #868B20 #B6BD2B #D0D64F

Accessibility & contrast

On white

3.67
#868B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#868B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868B20
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868B20#FFFFFF#000000##000000
##868B201.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968406
Deuteranopia (green-blind)
#968729
Tritanopia (blue-blind)
#908277
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #868b20;
/* rgb */ color: rgb(134, 139, 32);
/* oklch */ color: oklch(61.3% 0.124 112.3);
Tailwind
colors: {
  custom: {
    50: '#acac65',
    500: '#868b20',
    950: '#000000',
  },
}
SCSS
$custom: #868b20;
$custom-light: #acac65;
$custom-dark: #000000;
JSON
{
  "hex": "#868b20",
  "rgb": {
    "r": 134,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 62.804,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61312,
    "c": 0.12448,
    "h": 112.3
  },
  "luminance": 0.23638
}

Semantic roles & 50–950 ramp

primary
#868B20
secondary
#524DBA
accent
#42E64A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868B20

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

Preview Lab → · Contrast checker → · Palette generator →

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