#868B18#868B18

#868B18 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.3% C 0.129 H 112.3°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#868B18
RGBrgb(134, 139, 24)
HSLhsl(63, 71%, 32%)
HSVhsv(63, 83%, 55%)
CMYKcmyk(3.6%, 0%, 82.7%, 45.5%)
CIE-LABlab(55.69, -15.46, 54.93)
CIE-LCHlch(55.69, 57.06, 105.72°)
OKLaboklab(61.27% -0.0487 0.1189)
OKLCHoklch(61.27% 0.129 112.3)
XYZxyz(19.2297, 23.6000, 4.4063)
Luminance0.2360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868B18 #1D188B
analogous
#8B5718 #868B18 #4C8B18
triadic
#868B18 #18868B #8B1886
tetradic
#868B18 #188B57 #1D188B #8B184C
square
#868B18 #188B57 #1D188B #8B184C
split-complementary
#868B18 #184C8B #57188B
monochromatic
#212306 #54570F #868B18 #B8BF21 #D7DE3F

Accessibility & contrast

On white

3.67
#868B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#868B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #868B18
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868B18#FFFFFF#000000##000000
##868B181.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#978723
Tritanopia (blue-blind)
#908276
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #868b18;
/* rgb */ color: rgb(134, 139, 24);
/* oklch */ color: oklch(61.3% 0.129 112.3);
Tailwind
colors: {
  custom: {
    50: '#adac61',
    500: '#868b18',
    950: '#000000',
  },
}
SCSS
$custom: #868b18;
$custom-light: #adac61;
$custom-dark: #000000;
JSON
{
  "hex": "#868b18",
  "rgb": {
    "r": 134,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 62.609,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61268,
    "c": 0.12853,
    "h": 112.3
  },
  "luminance": 0.236
}

Semantic roles & 50–950 ramp

primary
#868B18
secondary
#4640BE
accent
#3AED42
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #868B18

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

Preview Lab → · Contrast checker → · Palette generator →

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