#868A1D#868A1D

#868A1D is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 61.1% C 0.125 H 111.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#868A1D
RGBrgb(134, 138, 29)
HSLhsl(62, 65%, 33%)
HSVhsv(62, 79%, 54%)
CMYKcmyk(2.9%, 0%, 79%, 45.9%)
CIE-LABlab(55.42, -14.74, 53.18)
CIE-LCHlch(55.42, 55.19, 105.49°)
OKLaboklab(61.06% -0.0463 0.1161)
OKLCHoklch(61.06% 0.125 111.8)
XYZxyz(19.1424, 23.3345, 4.6578)
Luminance0.2333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868A1D #211D8A
analogous
#8A581D #868A1D #4F8A1D
triadic
#868A1D #1D868A #8A1D86
tetradic
#868A1D #1D8A58 #211D8A #8A1D4F
square
#868A1D #1D8A58 #211D8A #8A1D4F
split-complementary
#868A1D #1D4F8A #581D8A
monochromatic
#242508 #555712 #868A1D #B7BD28 #D3D949

Accessibility & contrast

On white

3.71
#868A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#868A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##868A1D#FFFFFF#000000##000000
##868A1D1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#968627
Tritanopia (blue-blind)
#908176
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #868a1d;
/* rgb */ color: rgb(134, 138, 29);
/* oklch */ color: oklch(61.1% 0.125 111.8);
Tailwind
colors: {
  custom: {
    50: '#adab63',
    500: '#868a1d',
    950: '#000000',
  },
}
SCSS
$custom: #868a1d;
$custom-light: #adab63;
$custom-dark: #000000;
JSON
{
  "hex": "#868a1d",
  "rgb": {
    "r": 134,
    "g": 138,
    "b": 29
  },
  "hsl": {
    "h": 62.202,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.6106,
    "c": 0.12504,
    "h": 111.8
  },
  "luminance": 0.23334
}

Semantic roles & 50–950 ramp

primary
#868A1D
secondary
#4C48BB
accent
#40E846
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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