#868F1F#868F1F

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

Color values

HEX#868F1F
RGBrgb(134, 143, 31)
HSLhsl(65, 64%, 34%)
HSVhsv(65, 78%, 56%)
CMYKcmyk(6.3%, 0%, 78.3%, 43.9%)
CIE-LABlab(56.89, -17.28, 53.88)
CIE-LCHlch(56.89, 56.58, 107.78°)
OKLaboklab(62.25% -0.0532 0.118)
OKLCHoklch(62.25% 0.129 114.3)
XYZxyz(19.9019, 24.8126, 5.0370)
Luminance0.2481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868F1F #281F8F
analogous
#8F601F #868F1F #4E8F1F
triadic
#868F1F #1F868F #8F1F86
tetradic
#868F1F #1F8F60 #281F8F #8F1F4E
square
#868F1F #1F8F60 #281F8F #8F1F4E
split-complementary
#868F1F #1F4E8F #601F8F
monochromatic
#282A09 #575D14 #868F1F #B5C12A #CED94F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##868F1F#FFFFFF#000000##000000
##868F1F1.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)
#9A8801
Deuteranopia (green-blind)
#9A8929
Tritanopia (blue-blind)
#8F867A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #868f1f;
/* rgb */ color: rgb(134, 143, 31);
/* oklch */ color: oklch(62.2% 0.129 114.3);
Tailwind
colors: {
  custom: {
    50: '#adaf65',
    500: '#868f1f',
    950: '#000000',
  },
}
SCSS
$custom: #868f1f;
$custom-light: #adaf65;
$custom-dark: #000000;
JSON
{
  "hex": "#868f1f",
  "rgb": {
    "r": 134,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 64.821,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62246,
    "c": 0.12944,
    "h": 114.3
  },
  "luminance": 0.24812
}

Semantic roles & 50–950 ramp

primary
#868F1F
secondary
#574EBC
accent
#40E74E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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