#868F12#868F12

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

Color values

HEX#868F12
RGBrgb(134, 143, 18)
HSLhsl(64, 78%, 32%)
HSVhsv(64, 87%, 56%)
CMYKcmyk(6.3%, 0%, 87.4%, 43.9%)
CIE-LABlab(56.84, -17.74, 57.42)
CIE-LCHlch(56.84, 60.10, 107.17°)
OKLaboklab(62.19% -0.0554 0.1233)
OKLCHoklch(62.19% 0.135 114.2)
XYZxyz(19.7638, 24.7573, 4.3097)
Luminance0.2476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868F12 #1B128F
analogous
#8F5A12 #868F12 #488F12
triadic
#868F12 #12868F #8F1286
tetradic
#868F12 #128F5A #1B128F #8F1248
square
#868F12 #128F5A #1B128F #8F1248
split-complementary
#868F12 #12488F #5A128F
monochromatic
#202204 #53590B #868F12 #B9C519 #D9E636

Accessibility & contrast

On white

3.53
#868F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#868F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868F12
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868F12#FFFFFF#000000##000000
##868F121.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9A8921
Tritanopia (blue-blind)
#908679
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #868f12;
/* rgb */ color: rgb(134, 143, 18);
/* oklch */ color: oklch(62.2% 0.135 114.2);
Tailwind
colors: {
  custom: {
    50: '#adaf60',
    500: '#868f12',
    950: '#000000',
  },
}
SCSS
$custom: #868f12;
$custom-light: #adaf60;
$custom-dark: #000000;
JSON
{
  "hex": "#868f12",
  "rgb": {
    "r": 134,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 64.32,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.62186,
    "c": 0.13516,
    "h": 114.2
  },
  "luminance": 0.24757
}

Semantic roles & 50–950 ramp

primary
#868F12
secondary
#443AC3
accent
#34F442
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #868F12

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

Preview Lab → · Contrast checker → · Palette generator →

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