#868118#868118

#868118 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.9% C 0.118 H 106.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#868118
RGBrgb(134, 129, 24)
HSLhsl(57, 70%, 31%)
HSVhsv(57, 82%, 53%)
CMYKcmyk(0%, 3.7%, 82.1%, 47.5%)
CIE-LABlab(52.77, -10.10, 52.38)
CIE-LCHlch(52.77, 53.35, 100.91°)
OKLaboklab(58.94% -0.0338 0.1135)
OKLCHoklch(58.94% 0.118 106.6)
XYZxyz(17.8474, 20.8355, 3.9455)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868118 #181D86
analogous
#864A18 #868118 #548618
triadic
#868118 #188681 #811886
tetradic
#868118 #18864A #181D86 #861854
square
#868118 #18864A #181D86 #861854
split-complementary
#868118 #185486 #4A1886
monochromatic
#1E1D05 #524F0F #868118 #BAB321 #DCD53C

Accessibility & contrast

On white

4.06
#868118 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#868118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868118
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868118#FFFFFF#000000##000000
##8681181.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8F8021
Tritanopia (blue-blind)
#90786E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #868118;
/* rgb */ color: rgb(134, 129, 24);
/* oklch */ color: oklch(58.9% 0.118 106.6);
Tailwind
colors: {
  custom: {
    50: '#ada560',
    500: '#868118',
    950: '#000000',
  },
}
SCSS
$custom: #868118;
$custom-light: #ada560;
$custom-dark: #000000;
JSON
{
  "hex": "#868118",
  "rgb": {
    "r": 134,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 57.273,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58938,
    "c": 0.11839,
    "h": 106.6
  },
  "luminance": 0.20835
}

Semantic roles & 50–950 ramp

primary
#868118
secondary
#4046BA
accent
#43EC3B
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #868118

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

Preview Lab → · Contrast checker → · Palette generator →

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