#868021#868021

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

Color values

HEX#868021
RGBrgb(134, 128, 33)
HSLhsl(56, 60%, 33%)
HSVhsv(56, 75%, 53%)
CMYKcmyk(0%, 4.5%, 75.4%, 47.5%)
CIE-LABlab(52.53, -9.18, 49.11)
CIE-LCHlch(52.53, 49.96, 100.58°)
OKLaboklab(58.76% -0.0304 0.1083)
OKLCHoklch(58.76% 0.112 105.7)
XYZxyz(17.8259, 20.6171, 4.4791)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868021 #212786
analogous
#864E21 #868021 #598621
triadic
#868021 #218680 #802186
tetradic
#868021 #21864E #212786 #862159
square
#868021 #21864E #212786 #862159
split-complementary
#868021 #215986 #4E2186
monochromatic
#242209 #555115 #868021 #B7AF2D #D3CB4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##868021#FFFFFF#000000##000000
##8680211.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)
#8C7B0F
Deuteranopia (green-blind)
#8E7F28
Tritanopia (blue-blind)
#90776E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #868021;
/* rgb */ color: rgb(134, 128, 33);
/* oklch */ color: oklch(58.8% 0.112 105.7);
Tailwind
colors: {
  custom: {
    50: '#aca464',
    500: '#868021',
    950: '#000000',
  },
}
SCSS
$custom: #868021;
$custom-light: #aca464;
$custom-dark: #000000;
JSON
{
  "hex": "#868021",
  "rgb": {
    "r": 134,
    "g": 128,
    "b": 33
  },
  "hsl": {
    "h": 56.436,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58761,
    "c": 0.11246,
    "h": 105.7
  },
  "luminance": 0.20616
}

Semantic roles & 50–950 ramp

primary
#868021
secondary
#4C53B7
accent
#4EE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #868021

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

Preview Lab → · Contrast checker → · Palette generator →

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