#888D2A#888D2A

#888D2A is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.0% C 0.120 H 112.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#888D2A
RGBrgb(136, 141, 42)
HSLhsl(63, 54%, 36%)
HSVhsv(63, 70%, 55%)
CMYKcmyk(3.5%, 0%, 70.2%, 44.7%)
CIE-LABlab(56.54, -14.79, 49.59)
CIE-LCHlch(56.54, 51.75, 106.60°)
OKLaboklab(62.02% -0.0453 0.1109)
OKLCHoklch(62.02% 0.12 112.2)
XYZxyz(20.0967, 24.4516, 5.8510)
Luminance0.2445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888D2A #2F2A8D
analogous
#8D602A #888D2A #568D2A
triadic
#888D2A #2A888D #8D2A88
tetradic
#888D2A #2A8D60 #2F2A8D #8D2A56
square
#888D2A #2A8D60 #2F2A8D #8D2A56
split-complementary
#888D2A #2A568D #602A8D
monochromatic
#2D2F0E #5B5E1C #888D2A #B5BC38 #CAD061

Accessibility & contrast

On white

3.57
#888D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#888D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888D2A
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888D2A#FFFFFF#000000##000000
##888D2A1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#98861A
Deuteranopia (green-blind)
#988931
Tritanopia (blue-blind)
#918479
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #888d2a;
/* rgb */ color: rgb(136, 141, 42);
/* oklch */ color: oklch(62.0% 0.120 112.2);
Tailwind
colors: {
  custom: {
    50: '#aeae6a',
    500: '#888d2a',
    950: '#000000',
  },
}
SCSS
$custom: #888d2a;
$custom-light: #aeae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#888d2a",
  "rgb": {
    "r": 136,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 63.03,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62024,
    "c": 0.11979,
    "h": 112.2
  },
  "luminance": 0.24451
}

Semantic roles & 50–950 ramp

primary
#888D2A
secondary
#615DB6
accent
#4ADD52
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #888D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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