#888128#888128

#888128 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.2% C 0.108 H 104.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#888128
RGBrgb(136, 129, 40)
HSLhsl(56, 55%, 35%)
HSVhsv(56, 71%, 53%)
CMYKcmyk(0%, 5.1%, 70.6%, 46.7%)
CIE-LABlab(53.05, -8.44, 46.91)
CIE-LCHlch(53.05, 47.66, 100.20°)
OKLaboklab(59.23% -0.0277 0.1049)
OKLCHoklch(59.23% 0.108 104.8)
XYZxyz(18.3873, 21.0886, 5.1090)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888128 #282F88
analogous
#885128 #888128 #5F8828
triadic
#888128 #288881 #812888
tetradic
#888128 #288851 #282F88 #88285F
square
#888128 #288851 #282F88 #88285F
split-complementary
#888128 #285F88 #512888
monochromatic
#29270C #59541A #888128 #B7AE36 #CFC65B

Accessibility & contrast

On white

4.02
#888128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#888128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888128
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888128#FFFFFF#000000##000000
##8881281.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1B
Deuteranopia (green-blind)
#8F802E
Tritanopia (blue-blind)
#92786F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #888128;
/* rgb */ color: rgb(136, 129, 40);
/* oklch */ color: oklch(59.2% 0.108 104.8);
Tailwind
colors: {
  custom: {
    50: '#aea568',
    500: '#888128',
    950: '#000000',
  },
}
SCSS
$custom: #888128;
$custom-light: #aea568;
$custom-dark: #000000;
JSON
{
  "hex": "#888128",
  "rgb": {
    "r": 136,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 55.625,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59233,
    "c": 0.10845,
    "h": 104.8
  },
  "luminance": 0.21088
}

Semantic roles & 50–950 ramp

primary
#888128
secondary
#585EB4
accent
#55DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #888128

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

Preview Lab → · Contrast checker → · Palette generator →

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