#888326#888326

#888326 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.7% C 0.112 H 106.3°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#888326
RGBrgb(136, 131, 38)
HSLhsl(57, 56%, 34%)
HSVhsv(57, 72%, 53%)
CMYKcmyk(0%, 3.7%, 72.1%, 46.7%)
CIE-LABlab(53.61, -9.64, 48.28)
CIE-LCHlch(53.61, 49.24, 101.29°)
OKLaboklab(59.68% -0.0313 0.1074)
OKLCHoklch(59.68% 0.112 106.3)
XYZxyz(18.6202, 21.6074, 5.0232)
Luminance0.2161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888326 #262B88
analogous
#885226 #888326 #5C8826
triadic
#888326 #268883 #832688
tetradic
#888326 #268852 #262B88 #88265C
square
#888326 #268852 #262B88 #88265C
split-complementary
#888326 #265C88 #522688
monochromatic
#28270B #585519 #888326 #B8B133 #D0CA58

Accessibility & contrast

On white

3.95
#888326 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#888326 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888326
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888326#FFFFFF#000000##000000
##8883261.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E17
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#927A71
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #888326;
/* rgb */ color: rgb(136, 131, 38);
/* oklch */ color: oklch(59.7% 0.112 106.3);
Tailwind
colors: {
  custom: {
    50: '#aea667',
    500: '#888326',
    950: '#000000',
  },
}
SCSS
$custom: #888326;
$custom-light: #aea667;
$custom-dark: #000000;
JSON
{
  "hex": "#888326",
  "rgb": {
    "r": 136,
    "g": 131,
    "b": 38
  },
  "hsl": {
    "h": 56.939,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59676,
    "c": 0.11187,
    "h": 106.3
  },
  "luminance": 0.21607
}

Semantic roles & 50–950 ramp

primary
#888326
secondary
#555AB5
accent
#50E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #888326

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

Preview Lab → · Contrast checker → · Palette generator →

#888326 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva