#868020#868020

#868020 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.8% C 0.113 H 105.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#868020
RGBrgb(134, 128, 32)
HSLhsl(56, 61%, 33%)
HSVhsv(56, 76%, 53%)
CMYKcmyk(0%, 4.5%, 76.1%, 47.5%)
CIE-LABlab(52.52, -9.22, 49.48)
CIE-LCHlch(52.52, 50.33, 100.56°)
OKLaboklab(58.75% -0.0307 0.1088)
OKLCHoklch(58.75% 0.113 105.7)
XYZxyz(17.8121, 20.6116, 4.4064)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868020 #202686
analogous
#864D20 #868020 #598620
triadic
#868020 #208680 #802086
tetradic
#868020 #20864D #202686 #862059
square
#868020 #20864D #202686 #862059
split-complementary
#868020 #205986 #4D2086
monochromatic
#232208 #555114 #868020 #B7AF2C #D4CC4C

Accessibility & contrast

On white

4.10
#868020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#868020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868020
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868020#FFFFFF#000000##000000
##8680201.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B0D
Deuteranopia (green-blind)
#8E7F27
Tritanopia (blue-blind)
#90776E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #868020;
/* rgb */ color: rgb(134, 128, 32);
/* oklch */ color: oklch(58.8% 0.113 105.7);
Tailwind
colors: {
  custom: {
    50: '#aca463',
    500: '#868020',
    950: '#000000',
  },
}
SCSS
$custom: #868020;
$custom-light: #aca463;
$custom-dark: #000000;
JSON
{
  "hex": "#868020",
  "rgb": {
    "r": 134,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 56.471,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58754,
    "c": 0.11307,
    "h": 105.7
  },
  "luminance": 0.20611
}

Semantic roles & 50–950 ramp

primary
#868020
secondary
#4B51B7
accent
#4DE543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #868020

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

Preview Lab → · Contrast checker → · Palette generator →

#868020 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva