#868C12#868C12

#868C12 is a mid, vivid yellow. Relative luminance 0.239; OKLCH L 61.5% C 0.132 H 112.8°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#868C12
RGBrgb(134, 140, 18)
HSLhsl(63, 77%, 31%)
HSVhsv(63, 87%, 55%)
CMYKcmyk(4.3%, 0%, 87.1%, 45.1%)
CIE-LABlab(55.96, -16.17, 56.69)
CIE-LCHlch(55.96, 58.95, 105.92°)
OKLaboklab(61.48% -0.0511 0.1217)
OKLCHoklch(61.48% 0.132 112.8)
XYZxyz(19.3195, 23.8686, 4.1616)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868C12 #18128C
analogous
#8C5512 #868C12 #498C12
triadic
#868C12 #12868C #8C1286
tetradic
#868C12 #128C55 #18128C #8C1249
square
#868C12 #128C55 #18128C #8C1249
split-complementary
#868C12 #12498C #55128C
monochromatic
#1E2004 #52560B #868C12 #BAC219 #DCE534

Accessibility & contrast

On white

3.64
#868C12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#868C12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868C12
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868C12#FFFFFF#000000##000000
##868C121.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#988720
Tritanopia (blue-blind)
#908377
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #868c12;
/* rgb */ color: rgb(134, 140, 18);
/* oklch */ color: oklch(61.5% 0.132 112.8);
Tailwind
colors: {
  custom: {
    50: '#adad5f',
    500: '#868c12',
    950: '#000000',
  },
}
SCSS
$custom: #868c12;
$custom-light: #adad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#868c12",
  "rgb": {
    "r": 134,
    "g": 140,
    "b": 18
  },
  "hsl": {
    "h": 62.951,
    "s": 77.215,
    "l": 30.98
  },
  "oklch": {
    "l": 0.61478,
    "c": 0.13198,
    "h": 112.8
  },
  "luminance": 0.23868
}

Semantic roles & 50–950 ramp

primary
#868C12
secondary
#4039C0
accent
#34F43D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #868C12

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

Preview Lab → · Contrast checker → · Palette generator →

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