#888F21#888F21

#888F21 is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.4% C 0.128 H 113.3°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#888F21
RGBrgb(136, 143, 33)
HSLhsl(64, 63%, 35%)
HSVhsv(64, 77%, 56%)
CMYKcmyk(4.9%, 0%, 76.9%, 43.9%)
CIE-LABlab(57.07, -16.30, 53.43)
CIE-LCHlch(57.07, 55.87, 106.97°)
OKLaboklab(62.43% -0.0504 0.1173)
OKLCHoklch(62.43% 0.128 113.3)
XYZxyz(20.2510, 24.9894, 5.1952)
Luminance0.2499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888F21 #28218F
analogous
#8F5F21 #888F21 #518F21
triadic
#888F21 #21888F #8F2188
tetradic
#888F21 #218F5F #28218F #8F2151
square
#888F21 #218F5F #28218F #8F2151
split-complementary
#888F21 #21518F #5F218F
monochromatic
#292C0A #595D16 #888F21 #B7C12C #CFD753

Accessibility & contrast

On white

3.50
#888F21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#888F21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888F21
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888F21#FFFFFF#000000##000000
##888F211.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8806
Deuteranopia (green-blind)
#9A8A2A
Tritanopia (blue-blind)
#92867A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #888f21;
/* rgb */ color: rgb(136, 143, 33);
/* oklch */ color: oklch(62.4% 0.128 113.3);
Tailwind
colors: {
  custom: {
    50: '#aeaf66',
    500: '#888f21',
    950: '#000000',
  },
}
SCSS
$custom: #888f21;
$custom-light: #aeaf66;
$custom-dark: #000000;
JSON
{
  "hex": "#888f21",
  "rgb": {
    "r": 136,
    "g": 143,
    "b": 33
  },
  "hsl": {
    "h": 63.818,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62428,
    "c": 0.12772,
    "h": 113.3
  },
  "luminance": 0.24989
}

Semantic roles & 50–950 ramp

primary
#888F21
secondary
#5851BB
accent
#42E64D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888F21

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

Preview Lab → · Contrast checker → · Palette generator →

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