#888A17#888A17

#888A17 is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.2% C 0.127 H 110.7°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#888A17
RGBrgb(136, 138, 23)
HSLhsl(61, 71%, 32%)
HSVhsv(61, 83%, 54%)
CMYKcmyk(1.4%, 0%, 83.3%, 45.9%)
CIE-LABlab(55.56, -14.06, 55.16)
CIE-LCHlch(55.56, 56.93, 104.30°)
OKLaboklab(61.21% -0.045 0.1192)
OKLCHoklch(61.21% 0.127 110.7)
XYZxyz(19.3972, 23.4736, 4.3195)
Luminance0.2347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888A17 #19178A
analogous
#8A5317 #888A17 #4F8A17
triadic
#888A17 #17888A #8A1788
tetradic
#888A17 #178A53 #19178A #8A174F
square
#888A17 #178A53 #19178A #8A174F
split-complementary
#888A17 #174F8A #53178A
monochromatic
#212106 #54560E #888A17 #BCBE20 #DCDF3D

Accessibility & contrast

On white

3.69
#888A17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#888A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888A17
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888A17#FFFFFF#000000##000000
##888A171.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #888a17;
/* rgb */ color: rgb(136, 138, 23);
/* oklch */ color: oklch(61.2% 0.127 110.7);
Tailwind
colors: {
  custom: {
    50: '#aeab61',
    500: '#888a17',
    950: '#000000',
  },
}
SCSS
$custom: #888a17;
$custom-light: #aeab61;
$custom-dark: #000000;
JSON
{
  "hex": "#888a17",
  "rgb": {
    "r": 136,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 61.043,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61206,
    "c": 0.12738,
    "h": 110.7
  },
  "luminance": 0.23473
}

Semantic roles & 50–950 ramp

primary
#888A17
secondary
#413FBE
accent
#3AEE3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #888A17

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

Preview Lab → · Contrast checker → · Palette generator →

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