#868E2A#868E2A

#868E2A is a light, vivid yellow. Relative luminance 0.246; OKLCH L 62.1% C 0.121 H 113.9°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#868E2A
RGBrgb(134, 142, 42)
HSLhsl(65, 54%, 36%)
HSVhsv(65, 70%, 56%)
CMYKcmyk(5.6%, 0%, 70.4%, 44.3%)
CIE-LABlab(56.67, -16.20, 49.67)
CIE-LCHlch(56.67, 52.24, 108.07°)
OKLaboklab(62.09% -0.0492 0.1111)
OKLCHoklch(62.09% 0.121 113.9)
XYZxyz(19.9230, 24.5819, 5.8853)
Luminance0.2458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868E2A #322A8E
analogous
#8E642A #868E2A #548E2A
triadic
#868E2A #2A868E #8E2A86
tetradic
#868E2A #2A8E64 #322A8E #8E2A54
square
#868E2A #2A8E64 #322A8E #8E2A54
split-complementary
#868E2A #2A548E #642A8E
monochromatic
#2D300E #595F1C #868E2A #B3BD38 #C8D162

Accessibility & contrast

On white

3.55
#868E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#868E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868E2A
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868E2A#FFFFFF#000000##000000
##868E2A1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99871A
Deuteranopia (green-blind)
#988931
Tritanopia (blue-blind)
#8F867A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #868e2a;
/* rgb */ color: rgb(134, 142, 42);
/* oklch */ color: oklch(62.1% 0.121 113.9);
Tailwind
colors: {
  custom: {
    50: '#acae6a',
    500: '#868e2a',
    950: '#000000',
  },
}
SCSS
$custom: #868e2a;
$custom-light: #acae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#868e2a",
  "rgb": {
    "r": 134,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 64.8,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62086,
    "c": 0.12148,
    "h": 113.9
  },
  "luminance": 0.24582
}

Semantic roles & 50–950 ramp

primary
#868E2A
secondary
#645DB6
accent
#4ADE56
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #868E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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