#868F18#868F18

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

Color values

HEX#868F18
RGBrgb(134, 143, 24)
HSLhsl(65, 71%, 33%)
HSVhsv(65, 83%, 56%)
CMYKcmyk(6.3%, 0%, 83.2%, 43.9%)
CIE-LABlab(56.86, -17.55, 55.95)
CIE-LCHlch(56.86, 58.64, 107.42°)
OKLaboklab(62.21% -0.0545 0.1211)
OKLCHoklch(62.21% 0.133 114.2)
XYZxyz(19.8195, 24.7796, 4.6029)
Luminance0.2478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868F18 #21188F
analogous
#8F5D18 #868F18 #4A8F18
triadic
#868F18 #18868F #8F1886
tetradic
#868F18 #188F5D #21188F #8F184A
square
#868F18 #188F5D #21188F #8F184A
split-complementary
#868F18 #184A8F #5D188F
monochromatic
#242606 #555B0F #868F18 #B7C321 #D3DF42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##868F18#FFFFFF#000000##000000
##868F181.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #868f18;
/* rgb */ color: rgb(134, 143, 24);
/* oklch */ color: oklch(62.2% 0.133 114.2);
Tailwind
colors: {
  custom: {
    50: '#adaf62',
    500: '#868f18',
    950: '#000000',
  },
}
SCSS
$custom: #868f18;
$custom-light: #adaf62;
$custom-dark: #000000;
JSON
{
  "hex": "#868f18",
  "rgb": {
    "r": 134,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 64.538,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.6221,
    "c": 0.13283,
    "h": 114.2
  },
  "luminance": 0.24779
}

Semantic roles & 50–950 ramp

primary
#868F18
secondary
#4C43C0
accent
#3AEE47
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868F18

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

Preview Lab → · Contrast checker → · Palette generator →

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