#888D18#888D18

#888D18 is a mid, vivid yellow. Relative luminance 0.243; OKLCH L 61.9% C 0.130 H 112.2°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#888D18
RGBrgb(136, 141, 24)
HSLhsl(63, 71%, 32%)
HSVhsv(63, 83%, 55%)
CMYKcmyk(3.5%, 0%, 83%, 44.7%)
CIE-LABlab(56.44, -15.61, 55.65)
CIE-LCHlch(56.44, 57.79, 105.67°)
OKLaboklab(61.91% -0.0492 0.1204)
OKLCHoklch(61.91% 0.13 112.2)
XYZxyz(19.8438, 24.3504, 4.5188)
Luminance0.2435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888D18 #1D188D
analogous
#8D5718 #888D18 #4E8D18
triadic
#888D18 #18888D #8D1888
tetradic
#888D18 #188D57 #1D188D #8D184E
square
#888D18 #188D57 #1D188D #8D184E
split-complementary
#888D18 #184E8D #57188D
monochromatic
#232406 #56590F #888D18 #BAC121 #D8DF41

Accessibility & contrast

On white

3.58
#888D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#888D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888D18
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888D18#FFFFFF#000000##000000
##888D181.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#998924
Tritanopia (blue-blind)
#928478
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #888d18;
/* rgb */ color: rgb(136, 141, 24);
/* oklch */ color: oklch(61.9% 0.130 112.2);
Tailwind
colors: {
  custom: {
    50: '#aeae62',
    500: '#888d18',
    950: '#000000',
  },
}
SCSS
$custom: #888d18;
$custom-light: #aeae62;
$custom-dark: #000000;
JSON
{
  "hex": "#888d18",
  "rgb": {
    "r": 136,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 62.564,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61912,
    "c": 0.13007,
    "h": 112.2
  },
  "luminance": 0.2435
}

Semantic roles & 50–950 ramp

primary
#888D18
secondary
#4742BF
accent
#3AEE42
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888D18

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

Preview Lab → · Contrast checker → · Palette generator →

#888D18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva