#868D19#868D19

#868D19 is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.7% C 0.130 H 113.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#868D19
RGBrgb(134, 141, 25)
HSLhsl(64, 70%, 33%)
HSVhsv(64, 82%, 55%)
CMYKcmyk(5%, 0%, 82.3%, 44.7%)
CIE-LABlab(56.28, -16.48, 55.16)
CIE-LCHlch(56.28, 57.57, 106.63°)
OKLaboklab(61.74% -0.0515 0.1196)
OKLCHoklch(61.74% 0.13 113.3)
XYZxyz(19.5325, 24.1887, 4.5595)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868D19 #20198D
analogous
#8D5A19 #868D19 #4C8D19
triadic
#868D19 #19868D #8D1986
tetradic
#868D19 #198D5A #20198D #8D194C
square
#868D19 #198D5A #20198D #8D194C
split-complementary
#868D19 #194C8D #5A198D
monochromatic
#232507 #555910 #868D19 #B7C122 #D4DE43

Accessibility & contrast

On white

3.60
#868D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#868D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868D19
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868D19#FFFFFF#000000##000000
##868D191.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#988824
Tritanopia (blue-blind)
#908478
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #868d19;
/* rgb */ color: rgb(134, 141, 25);
/* oklch */ color: oklch(61.7% 0.130 113.3);
Tailwind
colors: {
  custom: {
    50: '#adae62',
    500: '#868d19',
    950: '#000000',
  },
}
SCSS
$custom: #868d19;
$custom-light: #adae62;
$custom-dark: #000000;
JSON
{
  "hex": "#868d19",
  "rgb": {
    "r": 134,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 63.621,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61743,
    "c": 0.13022,
    "h": 113.3
  },
  "luminance": 0.24188
}

Semantic roles & 50–950 ramp

primary
#868D19
secondary
#4B43BF
accent
#3BED46
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868D19

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

Preview Lab → · Contrast checker → · Palette generator →

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