#868B1E#868B1E

#868B1E is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.3% C 0.126 H 112.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#868B1E
RGBrgb(134, 139, 30)
HSLhsl(63, 64%, 33%)
HSVhsv(63, 78%, 55%)
CMYKcmyk(3.6%, 0%, 78.4%, 45.5%)
CIE-LABlab(55.71, -15.23, 53.13)
CIE-LCHlch(55.71, 55.27, 105.99°)
OKLaboklab(61.3% -0.0476 0.1162)
OKLCHoklch(61.3% 0.126 112.3)
XYZxyz(19.2991, 23.6278, 4.7720)
Luminance0.2363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868B1E #231E8B
analogous
#8B591E #868B1E #4F8B1E
triadic
#868B1E #1E868B #8B1E86
tetradic
#868B1E #1E8B59 #231E8B #8B1E4F
square
#868B1E #1E8B59 #231E8B #8B1E4F
split-complementary
#868B1E #1E4F8B #591E8B
monochromatic
#252608 #555913 #868B1E #B7BD29 #D2D84B

Accessibility & contrast

On white

3.67
#868B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#868B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868B1E
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868B1E#FFFFFF#000000##000000
##868B1E1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968401
Deuteranopia (green-blind)
#968728
Tritanopia (blue-blind)
#908277
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #868b1e;
/* rgb */ color: rgb(134, 139, 30);
/* oklch */ color: oklch(61.3% 0.126 112.3);
Tailwind
colors: {
  custom: {
    50: '#adac64',
    500: '#868b1e',
    950: '#000000',
  },
}
SCSS
$custom: #868b1e;
$custom-light: #adac64;
$custom-dark: #000000;
JSON
{
  "hex": "#868b1e",
  "rgb": {
    "r": 134,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 62.752,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.613,
    "c": 0.12558,
    "h": 112.3
  },
  "luminance": 0.23627
}

Semantic roles & 50–950 ramp

primary
#868B1E
secondary
#4F4ABB
accent
#40E748
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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