#868F2A#868F2A

#868F2A is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.3% C 0.123 H 114.4°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#868F2A
RGBrgb(134, 143, 42)
HSLhsl(65, 55%, 36%)
HSVhsv(65, 71%, 56%)
CMYKcmyk(6.3%, 0%, 70.6%, 43.9%)
CIE-LABlab(56.96, -16.73, 49.96)
CIE-LCHlch(56.96, 52.68, 108.51°)
OKLaboklab(62.32% -0.0506 0.1117)
OKLCHoklch(62.32% 0.123 114.4)
XYZxyz(20.0724, 24.8808, 5.9351)
Luminance0.2488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868F2A #332A8F
analogous
#8F662A #868F2A #548F2A
triadic
#868F2A #2A868F #8F2A86
tetradic
#868F2A #2A8F66 #332A8F #8F2A54
square
#868F2A #2A8F66 #332A8F #8F2A54
split-complementary
#868F2A #2A548F #662A8F
monochromatic
#2D300E #5A601C #868F2A #B2BE38 #C7D162

Accessibility & contrast

On white

3.51
#868F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#868F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868F2A
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868F2A#FFFFFF#000000##000000
##868F2A1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#99881A
Deuteranopia (green-blind)
#998A32
Tritanopia (blue-blind)
#8F877B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #868f2a;
/* rgb */ color: rgb(134, 143, 42);
/* oklch */ color: oklch(62.3% 0.123 114.4);
Tailwind
colors: {
  custom: {
    50: '#acaf6a',
    500: '#868f2a',
    950: '#000000',
  },
}
SCSS
$custom: #868f2a;
$custom-light: #acaf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#868f2a",
  "rgb": {
    "r": 134,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 65.347,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62321,
    "c": 0.12264,
    "h": 114.4
  },
  "luminance": 0.2488
}

Semantic roles & 50–950 ramp

primary
#868F2A
secondary
#665EB7
accent
#4ADE57
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #868F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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