#888A20#888A20

#888A20 is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.3% C 0.123 H 110.6°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#888A20
RGBrgb(136, 138, 32)
HSLhsl(61, 62%, 33%)
HSVhsv(61, 77%, 54%)
CMYKcmyk(1.4%, 0%, 76.8%, 45.9%)
CIE-LABlab(55.60, -13.71, 52.42)
CIE-LCHlch(55.60, 54.18, 104.66°)
OKLaboklab(61.25% -0.0433 0.115)
OKLCHoklch(61.25% 0.123 110.6)
XYZxyz(19.5032, 23.5160, 4.8779)
Luminance0.2351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888A20 #22208A
analogous
#8A5720 #888A20 #538A20
triadic
#888A20 #20888A #8A2088
tetradic
#888A20 #208A57 #22208A #8A2053
square
#888A20 #208A57 #22208A #8A2053
split-complementary
#888A20 #20538A #57208A
monochromatic
#262709 #575814 #888A20 #B9BC2C #D3D64E

Accessibility & contrast

On white

3.68
#888A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#888A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888A20
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888A20#FFFFFF#000000##000000
##888A201.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958407
Deuteranopia (green-blind)
#968729
Tritanopia (blue-blind)
#928176
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #888a20;
/* rgb */ color: rgb(136, 138, 32);
/* oklch */ color: oklch(61.3% 0.123 110.6);
Tailwind
colors: {
  custom: {
    50: '#aeab65',
    500: '#888a20',
    950: '#000000',
  },
}
SCSS
$custom: #888a20;
$custom-light: #aeab65;
$custom-dark: #000000;
JSON
{
  "hex": "#888a20",
  "rgb": {
    "r": 136,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 61.132,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61254,
    "c": 0.12288,
    "h": 110.6
  },
  "luminance": 0.23515
}

Semantic roles & 50–950 ramp

primary
#888A20
secondary
#4F4DB9
accent
#42E545
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888A20

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

Preview Lab → · Contrast checker → · Palette generator →

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