#888B31#888B31

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

Color values

HEX#888B31
RGBrgb(136, 139, 49)
HSLhsl(62, 48%, 37%)
HSVhsv(62, 65%, 55%)
CMYKcmyk(2.2%, 0%, 64.7%, 45.5%)
CIE-LABlab(56.01, -13.28, 46.10)
CIE-LCHlch(56.01, 47.98, 106.07°)
OKLaboklab(61.62% -0.0404 0.1047)
OKLCHoklch(61.62% 0.112 111.1)
XYZxyz(19.9409, 23.9217, 6.4720)
Luminance0.2392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888B31 #34318B
analogous
#8B6131 #888B31 #5B8B31
triadic
#888B31 #31888B #8B3188
tetradic
#888B31 #318B61 #34318B #8B315B
square
#888B31 #318B61 #34318B #8B315B
split-complementary
#888B31 #315B8B #61318B
monochromatic
#2F3111 #5C5E21 #888B31 #B4B841 #C8CB6B

Accessibility & contrast

On white

3.63
#888B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#888B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888B31
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888B31#FFFFFF#000000##000000
##888B311.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968525
Deuteranopia (green-blind)
#968737
Tritanopia (blue-blind)
#918378
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #888b31;
/* rgb */ color: rgb(136, 139, 49);
/* oklch */ color: oklch(61.6% 0.112 111.1);
Tailwind
colors: {
  custom: {
    50: '#adac6e',
    500: '#888b31',
    950: '#000000',
  },
}
SCSS
$custom: #888b31;
$custom-light: #adac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#888b31",
  "rgb": {
    "r": 136,
    "g": 139,
    "b": 49
  },
  "hsl": {
    "h": 62,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61619,
    "c": 0.11218,
    "h": 111.1
  },
  "luminance": 0.23921
}

Semantic roles & 50–950 ramp

primary
#888B31
secondary
#6865B2
accent
#50D755
background
#FAFAF6
surface
#F5F4EC
border
#CFCEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #888B31

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

Preview Lab → · Contrast checker → · Palette generator →

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