#868E18#868E18

#868E18 is a mid, vivid yellow. Relative luminance 0.245; OKLCH L 62.0% C 0.132 H 113.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#868E18
RGBrgb(134, 142, 24)
HSLhsl(64, 71%, 33%)
HSVhsv(64, 83%, 56%)
CMYKcmyk(5.6%, 0%, 83.1%, 44.3%)
CIE-LABlab(56.57, -17.03, 55.70)
CIE-LCHlch(56.57, 58.24, 107.01°)
OKLaboklab(61.97% -0.0531 0.1206)
OKLCHoklch(61.97% 0.132 113.8)
XYZxyz(19.6700, 24.4807, 4.5530)
Luminance0.2448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868E18 #20188E
analogous
#8E5B18 #868E18 #4B8E18
triadic
#868E18 #18868E #8E1886
tetradic
#868E18 #188E5B #20188E #8E184B
square
#868E18 #188E5B #20188E #8E184B
split-complementary
#868E18 #184B8E #5B188E
monochromatic
#232506 #555A0F #868E18 #B7C221 #D4DF41

Accessibility & contrast

On white

3.56
#868E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#868E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868E18
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868E18#FFFFFF#000000##000000
##868E181.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#998924
Tritanopia (blue-blind)
#908579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #868e18;
/* rgb */ color: rgb(134, 142, 24);
/* oklch */ color: oklch(62.0% 0.132 113.8);
Tailwind
colors: {
  custom: {
    50: '#adae62',
    500: '#868e18',
    950: '#000000',
  },
}
SCSS
$custom: #868e18;
$custom-light: #adae62;
$custom-dark: #000000;
JSON
{
  "hex": "#868e18",
  "rgb": {
    "r": 134,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 64.068,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61974,
    "c": 0.13175,
    "h": 113.8
  },
  "luminance": 0.2448
}

Semantic roles & 50–950 ramp

primary
#868E18
secondary
#4B42C0
accent
#3AEE46
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #868E18

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

Preview Lab → · Contrast checker → · Palette generator →

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