#868121#868121

#868121 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.0% C 0.113 H 106.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#868121
RGBrgb(134, 129, 33)
HSLhsl(57, 60%, 33%)
HSVhsv(57, 75%, 53%)
CMYKcmyk(0%, 3.7%, 75.4%, 47.5%)
CIE-LABlab(52.82, -9.72, 49.39)
CIE-LCHlch(52.82, 50.33, 101.14°)
OKLaboklab(58.99% -0.032 0.1088)
OKLCHoklch(58.99% 0.113 106.4)
XYZxyz(17.9570, 20.8793, 4.5228)
Luminance0.2088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868121 #212686
analogous
#864F21 #868121 #588621
triadic
#868121 #218681 #812186
tetradic
#868121 #21864F #212686 #862158
square
#868121 #21864F #212686 #862158
split-complementary
#868121 #215886 #4F2186
monochromatic
#242209 #555215 #868121 #B7B02D #D3CD4E

Accessibility & contrast

On white

4.06
#868121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#868121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868121
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868121#FFFFFF#000000##000000
##8681211.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0E
Deuteranopia (green-blind)
#8F8028
Tritanopia (blue-blind)
#90786F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #868121;
/* rgb */ color: rgb(134, 129, 33);
/* oklch */ color: oklch(59.0% 0.113 106.4);
Tailwind
colors: {
  custom: {
    50: '#aca564',
    500: '#868121',
    950: '#000000',
  },
}
SCSS
$custom: #868121;
$custom-light: #aca564;
$custom-dark: #000000;
JSON
{
  "hex": "#868121",
  "rgb": {
    "r": 134,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 57.03,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58992,
    "c": 0.11344,
    "h": 106.4
  },
  "luminance": 0.20879
}

Semantic roles & 50–950 ramp

primary
#868121
secondary
#4C51B7
accent
#4CE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #868121

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

Preview Lab → · Contrast checker → · Palette generator →

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