#868942#868942

#868942 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.2% C 0.094 H 111.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#868942
RGBrgb(134, 137, 66)
HSLhsl(63, 35%, 40%)
HSVhsv(63, 52%, 54%)
CMYKcmyk(2.2%, 0%, 51.8%, 46.3%)
CIE-LABlab(55.43, -11.70, 37.29)
CIE-LCHlch(55.43, 39.08, 107.42°)
OKLaboklab(61.18% -0.0339 0.088)
OKLCHoklch(61.18% 0.094 111.1)
XYZxyz(19.7610, 23.3534, 8.6199)
Luminance0.2335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868942 #454289
analogous
#896842 #868942 #638942
triadic
#868942 #428689 #894286
tetradic
#868942 #428968 #454289 #894263
square
#868942 #428968 #454289 #894263
split-complementary
#868942 #426389 #684289
monochromatic
#35361A #5E602E #868942 #ABAF59 #C0C382

Accessibility & contrast

On white

3.70
#868942 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#868942 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868942
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868942#FFFFFF#000000##000000
##8689421.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#92843B
Deuteranopia (green-blind)
#938646
Tritanopia (blue-blind)
#8E8279
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #868942;
/* rgb */ color: rgb(134, 137, 66);
/* oklch */ color: oklch(61.2% 0.094 111.1);
Tailwind
colors: {
  custom: {
    50: '#abab78',
    500: '#868942',
    950: '#000000',
  },
}
SCSS
$custom: #868942;
$custom-light: #abab78;
$custom-dark: #000000;
JSON
{
  "hex": "#868942",
  "rgb": {
    "r": 134,
    "g": 137,
    "b": 66
  },
  "hsl": {
    "h": 62.535,
    "s": 34.975,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61175,
    "c": 0.09429,
    "h": 111.1
  },
  "luminance": 0.23353
}

Semantic roles & 50–950 ramp

primary
#868942
secondary
#7B79AE
accent
#5DCB61
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #868942

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

Preview Lab → · Contrast checker → · Palette generator →

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