#888028#888028

#888028 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.0% C 0.107 H 104.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#888028
RGBrgb(136, 128, 40)
HSLhsl(55, 55%, 35%)
HSVhsv(55, 71%, 53%)
CMYKcmyk(0%, 5.9%, 70.6%, 46.7%)
CIE-LABlab(52.76, -7.89, 46.62)
CIE-LCHlch(52.76, 47.28, 99.60°)
OKLaboklab(59.01% -0.0262 0.1042)
OKLCHoklch(59.01% 0.107 104.1)
XYZxyz(18.2563, 20.8265, 5.0653)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888028 #283088
analogous
#885028 #888028 #608828
triadic
#888028 #288880 #802888
tetradic
#888028 #288850 #283088 #882860
square
#888028 #288850 #283088 #882860
split-complementary
#888028 #286088 #502888
monochromatic
#29270C #59531A #888028 #B7AD36 #CFC55B

Accessibility & contrast

On white

4.07
#888028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#888028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888028
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888028#FFFFFF#000000##000000
##8880281.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1B
Deuteranopia (green-blind)
#8E802E
Tritanopia (blue-blind)
#92776E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #888028;
/* rgb */ color: rgb(136, 128, 40);
/* oklch */ color: oklch(59.0% 0.107 104.1);
Tailwind
colors: {
  custom: {
    50: '#aea468',
    500: '#888028',
    950: '#000000',
  },
}
SCSS
$custom: #888028;
$custom-light: #aea468;
$custom-dark: #000000;
JSON
{
  "hex": "#888028",
  "rgb": {
    "r": 136,
    "g": 128,
    "b": 40
  },
  "hsl": {
    "h": 55,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59005,
    "c": 0.10747,
    "h": 104.1
  },
  "luminance": 0.20826
}

Semantic roles & 50–950 ramp

primary
#888028
secondary
#585FB4
accent
#56DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #888028

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

Preview Lab → · Contrast checker → · Palette generator →

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