#888E21#888E21

#888E21 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#888E21
RGBrgb(136, 142, 33)
HSLhsl(63, 62%, 34%)
HSVhsv(63, 77%, 56%)
CMYKcmyk(4.2%, 0%, 76.8%, 44.3%)
CIE-LABlab(56.77, -15.78, 53.16)
CIE-LCHlch(56.77, 55.45, 106.53°)
OKLaboklab(62.19% -0.049 0.1168)
OKLCHoklch(62.19% 0.127 112.8)
XYZxyz(20.1015, 24.6905, 5.1454)
Luminance0.2469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888E21 #27218E
analogous
#8E5E21 #888E21 #528E21
triadic
#888E21 #21888E #8E2188
tetradic
#888E21 #218E5E #27218E #8E2152
square
#888E21 #218E5E #27218E #8E2152
split-complementary
#888E21 #21528E #5E218E
monochromatic
#292B0A #585C15 #888E21 #B8C02D #D0D752

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##888E21#FFFFFF#000000##000000
##888E211.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)
#998707
Deuteranopia (green-blind)
#99892A
Tritanopia (blue-blind)
#928579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #888e21;
/* rgb */ color: rgb(136, 142, 33);
/* oklch */ color: oklch(62.2% 0.127 112.8);
Tailwind
colors: {
  custom: {
    50: '#aeae66',
    500: '#888e21',
    950: '#000000',
  },
}
SCSS
$custom: #888e21;
$custom-light: #aeae66;
$custom-dark: #000000;
JSON
{
  "hex": "#888e21",
  "rgb": {
    "r": 136,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 63.303,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.62194,
    "c": 0.12663,
    "h": 112.8
  },
  "luminance": 0.2469
}

Semantic roles & 50–950 ramp

primary
#888E21
secondary
#5650BA
accent
#42E54B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888E21

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

Preview Lab → · Contrast checker → · Palette generator →

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