#888B2B#888B2B

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

Color values

HEX#888B2B
RGBrgb(136, 139, 43)
HSLhsl(62, 53%, 36%)
HSVhsv(62, 69%, 55%)
CMYKcmyk(2.2%, 0%, 69.1%, 45.5%)
CIE-LABlab(55.96, -13.67, 48.61)
CIE-LCHlch(55.96, 50.49, 105.70°)
OKLaboklab(61.57% -0.0421 0.109)
OKLCHoklch(61.57% 0.117 111.1)
XYZxyz(19.8226, 23.8744, 5.8490)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888B2B #2E2B8B
analogous
#8B5E2B #888B2B #588B2B
triadic
#888B2B #2B888B #8B2B88
tetradic
#888B2B #2B8B5E #2E2B8B #8B2B58
square
#888B2B #2B8B5E #2E2B8B #8B2B58
split-complementary
#888B2B #2B588B #5E2B8B
monochromatic
#2D2E0E #5A5C1D #888B2B #B6BA39 #CBCE62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##888B2B#FFFFFF#000000##000000
##888B2B1.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)
#96851D
Deuteranopia (green-blind)
#968732
Tritanopia (blue-blind)
#918278
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #888b2b;
/* rgb */ color: rgb(136, 139, 43);
/* oklch */ color: oklch(61.6% 0.117 111.1);
Tailwind
colors: {
  custom: {
    50: '#adac6a',
    500: '#888b2b',
    950: '#000000',
  },
}
SCSS
$custom: #888b2b;
$custom-light: #adac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#888b2b",
  "rgb": {
    "r": 136,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 61.875,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61566,
    "c": 0.11682,
    "h": 111.1
  },
  "luminance": 0.23874
}

Semantic roles & 50–950 ramp

primary
#888B2B
secondary
#605DB5
accent
#4CDC50
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #888B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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