#888E17#888E17

#888E17 is a light, vivid yellow. Relative luminance 0.246; OKLCH L 62.1% C 0.132 H 112.7°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#888E17
RGBrgb(136, 142, 23)
HSLhsl(63, 72%, 32%)
HSVhsv(63, 84%, 56%)
CMYKcmyk(4.2%, 0%, 83.8%, 44.3%)
CIE-LABlab(56.73, -16.17, 56.17)
CIE-LCHlch(56.73, 58.45, 106.06°)
OKLaboklab(62.14% -0.0509 0.1213)
OKLCHoklch(62.14% 0.132 112.7)
XYZxyz(19.9817, 24.6426, 4.5144)
Luminance0.2464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888E17 #1D178E
analogous
#8E5817 #888E17 #4D8E17
triadic
#888E17 #17888E #8E1788
tetradic
#888E17 #178E58 #1D178E #8E174D
square
#888E17 #178E58 #1D178E #8E174D
split-complementary
#888E17 #174D8E #58178E
monochromatic
#232506 #56590E #888E17 #BAC320 #D8E03F

Accessibility & contrast

On white

3.54
#888E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#888E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888E17
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888E17#FFFFFF#000000##000000
##888E171.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9A8923
Tritanopia (blue-blind)
#928579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #888e17;
/* rgb */ color: rgb(136, 142, 23);
/* oklch */ color: oklch(62.1% 0.132 112.7);
Tailwind
colors: {
  custom: {
    50: '#aeae61',
    500: '#888e17',
    950: '#000000',
  },
}
SCSS
$custom: #888e17;
$custom-light: #aeae61;
$custom-dark: #000000;
JSON
{
  "hex": "#888e17",
  "rgb": {
    "r": 136,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 63.025,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.62141,
    "c": 0.13156,
    "h": 112.7
  },
  "luminance": 0.24642
}

Semantic roles & 50–950 ramp

primary
#888E17
secondary
#4740C0
accent
#39EF42
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888E17

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

Preview Lab → · Contrast checker → · Palette generator →

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