#868D29#868D29

#868D29 is a mid, vivid yellow. Relative luminance 0.243; OKLCH L 61.8% C 0.121 H 113.4°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#868D29
RGBrgb(134, 141, 41)
HSLhsl(64, 55%, 36%)
HSVhsv(64, 71%, 55%)
CMYKcmyk(5%, 0%, 70.9%, 44.7%)
CIE-LABlab(56.37, -15.73, 49.76)
CIE-LCHlch(56.37, 52.19, 107.55°)
OKLaboklab(61.84% -0.048 0.1111)
OKLCHoklch(61.84% 0.121 113.4)
XYZxyz(19.7572, 24.2786, 5.7429)
Luminance0.2428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868D29 #30298D
analogous
#8D6229 #868D29 #548D29
triadic
#868D29 #29868D #8D2986
tetradic
#868D29 #298D62 #30298D #8D2954
square
#868D29 #298D62 #30298D #8D2954
split-complementary
#868D29 #29548D #62298D
monochromatic
#2C2E0D #595E1B #868D29 #B3BC37 #C9D160

Accessibility & contrast

On white

3.59
#868D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#868D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868D29
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868D29#FFFFFF#000000##000000
##868D291.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988619
Deuteranopia (green-blind)
#988830
Tritanopia (blue-blind)
#8F8479
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #868d29;
/* rgb */ color: rgb(134, 141, 41);
/* oklch */ color: oklch(61.8% 0.121 113.4);
Tailwind
colors: {
  custom: {
    50: '#acae69',
    500: '#868d29',
    950: '#000000',
  },
}
SCSS
$custom: #868d29;
$custom-light: #acae69;
$custom-dark: #000000;
JSON
{
  "hex": "#868d29",
  "rgb": {
    "r": 134,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 64.2,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61844,
    "c": 0.12104,
    "h": 113.4
  },
  "luminance": 0.24278
}

Semantic roles & 50–950 ramp

primary
#868D29
secondary
#625BB6
accent
#4ADE54
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #868D29

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

Preview Lab → · Contrast checker → · Palette generator →

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