#868F1D#868F1D

#868F1D is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.2% C 0.130 H 114.3°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#868F1D
RGBrgb(134, 143, 29)
HSLhsl(65, 66%, 34%)
HSVhsv(65, 80%, 56%)
CMYKcmyk(6.3%, 0%, 79.7%, 43.9%)
CIE-LABlab(56.88, -17.37, 54.51)
CIE-LCHlch(56.88, 57.21, 107.67°)
OKLaboklab(62.24% -0.0536 0.119)
OKLCHoklch(62.24% 0.13 114.3)
XYZxyz(19.8764, 24.8024, 4.9024)
Luminance0.2480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868F1D #261D8F
analogous
#8F5F1D #868F1D #4D8F1D
triadic
#868F1D #1D868F #8F1D86
tetradic
#868F1D #1D8F5F #261D8F #8F1D4D
square
#868F1D #1D8F5F #261D8F #8F1D4D
split-complementary
#868F1D #1D4D8F #5F1D8F
monochromatic
#272908 #565C13 #868F1D #B6C227 #CFDB4C

Accessibility & contrast

On white

3.52
#868F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#868F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868F1D
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868F1D#FFFFFF#000000##000000
##868F1D1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9A8928
Tritanopia (blue-blind)
#8F867A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #868f1d;
/* rgb */ color: rgb(134, 143, 29);
/* oklch */ color: oklch(62.2% 0.130 114.3);
Tailwind
colors: {
  custom: {
    50: '#adaf64',
    500: '#868f1d',
    950: '#000000',
  },
}
SCSS
$custom: #868f1d;
$custom-light: #adaf64;
$custom-dark: #000000;
JSON
{
  "hex": "#868f1d",
  "rgb": {
    "r": 134,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 64.737,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.62235,
    "c": 0.13049,
    "h": 114.3
  },
  "luminance": 0.24802
}

Semantic roles & 50–950 ramp

primary
#868F1D
secondary
#544BBD
accent
#3FE94C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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