#888E20#888E20

#888E20 is a light, vivid yellow. Relative luminance 0.247; OKLCH L 62.2% C 0.127 H 112.8°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#888E20
RGBrgb(136, 142, 32)
HSLhsl(63, 63%, 34%)
HSVhsv(63, 77%, 56%)
CMYKcmyk(4.2%, 0%, 77.5%, 44.3%)
CIE-LABlab(56.77, -15.82, 53.50)
CIE-LCHlch(56.77, 55.79, 106.48°)
OKLaboklab(62.19% -0.0492 0.1173)
OKLCHoklch(62.19% 0.127 112.8)
XYZxyz(20.0877, 24.6850, 5.0727)
Luminance0.2469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888E20 #26208E
analogous
#8E5D20 #888E20 #518E20
triadic
#888E20 #20888E #8E2088
tetradic
#888E20 #208E5D #26208E #8E2051
square
#888E20 #208E5D #26208E #8E2051
split-complementary
#888E20 #20518E #5D208E
monochromatic
#282A09 #585C15 #888E20 #B8C02B #D0D851

Accessibility & contrast

On white

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

On black

5.94
#888E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888E20
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888E20#FFFFFF#000000##000000
##888E201.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998704
Deuteranopia (green-blind)
#99892A
Tritanopia (blue-blind)
#928579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #888e20;
/* rgb */ color: rgb(136, 142, 32);
/* oklch */ color: oklch(62.2% 0.127 112.8);
Tailwind
colors: {
  custom: {
    50: '#aeae65',
    500: '#888e20',
    950: '#000000',
  },
}
SCSS
$custom: #888e20;
$custom-light: #aeae65;
$custom-dark: #000000;
JSON
{
  "hex": "#888e20",
  "rgb": {
    "r": 136,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 63.273,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62188,
    "c": 0.12719,
    "h": 112.8
  },
  "luminance": 0.24685
}

Semantic roles & 50–950 ramp

primary
#888E20
secondary
#554FBB
accent
#42E64B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888E20

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

Preview Lab → · Contrast checker → · Palette generator →

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