#868F2D#868F2D

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

Color values

HEX#868F2D
RGBrgb(134, 143, 45)
HSLhsl(66, 52%, 37%)
HSVhsv(66, 69%, 56%)
CMYKcmyk(6.3%, 0%, 68.5%, 43.9%)
CIE-LABlab(56.98, -16.54, 48.77)
CIE-LCHlch(56.98, 51.50, 108.74°)
OKLaboklab(62.35% -0.0498 0.1097)
OKLCHoklch(62.35% 0.12 114.4)
XYZxyz(20.1282, 24.9031, 6.2286)
Luminance0.2490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868F2D #362D8F
analogous
#8F672D #868F2D #558F2D
triadic
#868F2D #2D868F #8F2D86
tetradic
#868F2D #2D8F67 #362D8F #8F2D55
square
#868F2D #2D8F67 #362D8F #8F2D55
split-complementary
#868F2D #2D558F #672D8F
monochromatic
#2F3210 #5A601E #868F2D #B2BE3C #C6CF67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##868F2D#FFFFFF#000000##000000
##868F2D1.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)
#99881F
Deuteranopia (green-blind)
#998A34
Tritanopia (blue-blind)
#8F877B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #868f2d;
/* rgb */ color: rgb(134, 143, 45);
/* oklch */ color: oklch(62.3% 0.120 114.4);
Tailwind
colors: {
  custom: {
    50: '#acaf6c',
    500: '#868f2d',
    950: '#000000',
  },
}
SCSS
$custom: #868f2d;
$custom-light: #acaf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#868f2d",
  "rgb": {
    "r": 134,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 65.51,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62346,
    "c": 0.12049,
    "h": 114.4
  },
  "luminance": 0.24903
}

Semantic roles & 50–950 ramp

primary
#868F2D
secondary
#6A62B6
accent
#4CDC59
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #868F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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