#868E1A#868E1A

#868E1A is a mid, vivid yellow. Relative luminance 0.245; OKLCH L 62.0% C 0.131 H 113.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#868E1A
RGBrgb(134, 142, 26)
HSLhsl(64, 69%, 33%)
HSVhsv(64, 82%, 56%)
CMYKcmyk(5.6%, 0%, 81.7%, 44.3%)
CIE-LABlab(56.57, -16.96, 55.14)
CIE-LCHlch(56.57, 57.69, 107.10°)
OKLaboklab(61.98% -0.0527 0.1198)
OKLCHoklch(61.98% 0.131 113.8)
XYZxyz(19.6916, 24.4893, 4.6667)
Luminance0.2449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868E1A #221A8E
analogous
#8E5C1A #868E1A #4C8E1A
triadic
#868E1A #1A868E #8E1A86
tetradic
#868E1A #1A8E5C #221A8E #8E1A4C
square
#868E1A #1A8E5C #221A8E #8E1A4C
split-complementary
#868E1A #1A4C8E #5C1A8E
monochromatic
#242707 #555A11 #868E1A #B7C223 #D3DD45

Accessibility & contrast

On white

3.56
#868E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#868E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868E1A
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868E1A#FFFFFF#000000##000000
##868E1A1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#998925
Tritanopia (blue-blind)
#8F8579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #868e1a;
/* rgb */ color: rgb(134, 142, 26);
/* oklch */ color: oklch(62.0% 0.131 113.8);
Tailwind
colors: {
  custom: {
    50: '#adae63',
    500: '#868e1a',
    950: '#000000',
  },
}
SCSS
$custom: #868e1a;
$custom-light: #adae63;
$custom-dark: #000000;
JSON
{
  "hex": "#868e1a",
  "rgb": {
    "r": 134,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 64.138,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61984,
    "c": 0.13085,
    "h": 113.8
  },
  "luminance": 0.24489
}

Semantic roles & 50–950 ramp

primary
#868E1A
secondary
#4E45BE
accent
#3CEC48
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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