#868618#868618

#868618 is a mid, vivid yellow. Relative luminance 0.222; OKLCH L 60.1% C 0.123 H 109.6°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#868618
RGBrgb(134, 134, 24)
HSLhsl(60, 70%, 31%)
HSVhsv(60, 82%, 53%)
CMYKcmyk(0%, 0%, 82.1%, 47.5%)
CIE-LABlab(54.22, -12.80, 53.66)
CIE-LCHlch(54.22, 55.16, 103.42°)
OKLaboklab(60.1% -0.0414 0.1162)
OKLCHoklch(60.1% 0.123 109.6)
XYZxyz(18.5222, 22.1851, 4.1704)
Luminance0.2218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868618 #181886
analogous
#864F18 #868618 #4F8618
triadic
#868618 #188686 #861886
tetradic
#868618 #18864F #181886 #86184F
square
#868618 #18864F #181886 #86184F
split-complementary
#868618 #184F86 #4F1886
monochromatic
#1E1E05 #52520F #868618 #BABA21 #DCDC3C

Accessibility & contrast

On white

3.86
#868618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#868618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868618
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868618#FFFFFF#000000##000000
##8686181.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#938322
Tritanopia (blue-blind)
#907D72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #868618;
/* rgb */ color: rgb(134, 134, 24);
/* oklch */ color: oklch(60.1% 0.123 109.6);
Tailwind
colors: {
  custom: {
    50: '#ada961',
    500: '#868618',
    950: '#000000',
  },
}
SCSS
$custom: #868618;
$custom-light: #ada961;
$custom-dark: #000000;
JSON
{
  "hex": "#868618",
  "rgb": {
    "r": 134,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 60,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.60098,
    "c": 0.12334,
    "h": 109.6
  },
  "luminance": 0.22184
}

Semantic roles & 50–950 ramp

primary
#868618
secondary
#4040BA
accent
#3BEC3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #868618

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

Preview Lab → · Contrast checker → · Palette generator →

#868618 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva