#888B20#888B20

#888B20 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.5% C 0.124 H 111.2°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#888B20
RGBrgb(136, 139, 32)
HSLhsl(62, 63%, 34%)
HSVhsv(62, 77%, 55%)
CMYKcmyk(2.2%, 0%, 77%, 45.5%)
CIE-LABlab(55.89, -14.24, 52.69)
CIE-LCHlch(55.89, 54.58, 105.12°)
OKLaboklab(61.49% -0.0448 0.1156)
OKLCHoklch(61.49% 0.124 111.2)
XYZxyz(19.6474, 23.8043, 4.9259)
Luminance0.2380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888B20 #23208B
analogous
#8B5820 #888B20 #528B20
triadic
#888B20 #20888B #8B2088
tetradic
#888B20 #208B58 #23208B #8B2052
square
#888B20 #208B58 #23208B #8B2052
split-complementary
#888B20 #20528B #58208B
monochromatic
#272809 #575915 #888B20 #B9BD2B #D3D64F

Accessibility & contrast

On white

3.65
#888B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#888B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888B20
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888B20#FFFFFF#000000##000000
##888B201.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968406
Deuteranopia (green-blind)
#978729
Tritanopia (blue-blind)
#928277
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #888b20;
/* rgb */ color: rgb(136, 139, 32);
/* oklch */ color: oklch(61.5% 0.124 111.2);
Tailwind
colors: {
  custom: {
    50: '#aeac65',
    500: '#888b20',
    950: '#000000',
  },
}
SCSS
$custom: #888b20;
$custom-light: #aeac65;
$custom-dark: #000000;
JSON
{
  "hex": "#888b20",
  "rgb": {
    "r": 136,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 61.682,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61487,
    "c": 0.12395,
    "h": 111.2
  },
  "luminance": 0.23804
}

Semantic roles & 50–950 ramp

primary
#888B20
secondary
#504DBA
accent
#42E647
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888B20

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

Preview Lab → · Contrast checker → · Palette generator →

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