#888B2A#888B2A

#888B2A is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.6% C 0.118 H 111.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#888B2A
RGBrgb(136, 139, 42)
HSLhsl(62, 54%, 35%)
HSVhsv(62, 70%, 55%)
CMYKcmyk(2.2%, 0%, 69.8%, 45.5%)
CIE-LABlab(55.95, -13.73, 49.01)
CIE-LCHlch(55.95, 50.89, 105.65°)
OKLaboklab(61.56% -0.0424 0.1096)
OKLCHoklch(61.56% 0.118 111.1)
XYZxyz(19.8045, 23.8671, 5.7536)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888B2A #2D2A8B
analogous
#8B5E2A #888B2A #578B2A
triadic
#888B2A #2A888B #8B2A88
tetradic
#888B2A #2A8B5E #2D2A8B #8B2A57
square
#888B2A #2A8B5E #2D2A8B #8B2A57
split-complementary
#888B2A #2A578B #5E2A8B
monochromatic
#2C2D0E #5A5C1C #888B2A #B6BA38 #CCCF60

Accessibility & contrast

On white

3.64
#888B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#888B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888B2A
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888B2A#FFFFFF#000000##000000
##888B2A1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851B
Deuteranopia (green-blind)
#978731
Tritanopia (blue-blind)
#918278
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #888b2a;
/* rgb */ color: rgb(136, 139, 42);
/* oklch */ color: oklch(61.6% 0.118 111.1);
Tailwind
colors: {
  custom: {
    50: '#aeac6a',
    500: '#888b2a',
    950: '#000000',
  },
}
SCSS
$custom: #888b2a;
$custom-light: #aeac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#888b2a",
  "rgb": {
    "r": 136,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 61.856,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61558,
    "c": 0.11755,
    "h": 111.1
  },
  "luminance": 0.23867
}

Semantic roles & 50–950 ramp

primary
#888B2A
secondary
#5F5CB5
accent
#4BDD4F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #888B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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