#868D1B#868D1B

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

Color values

HEX#868D1B
RGBrgb(134, 141, 27)
HSLhsl(64, 68%, 33%)
HSVhsv(64, 81%, 55%)
CMYKcmyk(5%, 0%, 80.9%, 44.7%)
CIE-LABlab(56.29, -16.40, 54.59)
CIE-LCHlch(56.29, 57.00, 106.72°)
OKLaboklab(61.75% -0.0511 0.1188)
OKLCHoklch(61.75% 0.129 113.3)
XYZxyz(19.5549, 24.1977, 4.6772)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868D1B #221B8D
analogous
#8D5B1B #868D1B #4D8D1B
triadic
#868D1B #1B868D #8D1B86
tetradic
#868D1B #1B8D5B #221B8D #8D1B4D
square
#868D1B #1B8D5B #221B8D #8D1B4D
split-complementary
#868D1B #1B4D8D #5B1B8D
monochromatic
#242607 #555A11 #868D1B #B7C025 #D3DC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##868D1B#FFFFFF#000000##000000
##868D1B1.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)
#988826
Tritanopia (blue-blind)
#908478
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #868d1b;
/* rgb */ color: rgb(134, 141, 27);
/* oklch */ color: oklch(61.8% 0.129 113.3);
Tailwind
colors: {
  custom: {
    50: '#adae63',
    500: '#868d1b',
    950: '#000000',
  },
}
SCSS
$custom: #868d1b;
$custom-light: #adae63;
$custom-dark: #000000;
JSON
{
  "hex": "#868d1b",
  "rgb": {
    "r": 134,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 63.684,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61753,
    "c": 0.12928,
    "h": 113.3
  },
  "luminance": 0.24197
}

Semantic roles & 50–950 ramp

primary
#868D1B
secondary
#4E46BD
accent
#3DEB48
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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