#888E28#888E28

#888E28 is a light, vivid yellow. Relative luminance 0.247; OKLCH L 62.2% C 0.122 H 112.8°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#888E28
RGBrgb(136, 142, 40)
HSLhsl(64, 56%, 36%)
HSVhsv(64, 72%, 56%)
CMYKcmyk(4.2%, 0%, 71.8%, 44.3%)
CIE-LABlab(56.82, -15.43, 50.65)
CIE-LCHlch(56.82, 52.95, 106.94°)
OKLaboklab(62.24% -0.0473 0.1128)
OKLCHoklch(62.24% 0.122 112.8)
XYZxyz(20.2100, 24.7339, 5.7166)
Luminance0.2473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888E28 #2E288E
analogous
#8E6128 #888E28 #558E28
triadic
#888E28 #28888E #8E2888
tetradic
#888E28 #288E61 #2E288E #8E2855
square
#888E28 #288E61 #2E288E #8E2855
split-complementary
#888E28 #28558E #61288E
monochromatic
#2D2F0D #5A5E1B #888E28 #B6BE35 #CBD25F

Accessibility & contrast

On white

3.53
#888E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#888E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888E28
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888E28#FFFFFF#000000##000000
##888E281.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998717
Deuteranopia (green-blind)
#998930
Tritanopia (blue-blind)
#91857A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #888e28;
/* rgb */ color: rgb(136, 142, 40);
/* oklch */ color: oklch(62.2% 0.122 112.8);
Tailwind
colors: {
  custom: {
    50: '#aeae69',
    500: '#888e28',
    950: '#000000',
  },
}
SCSS
$custom: #888e28;
$custom-light: #aeae69;
$custom-dark: #000000;
JSON
{
  "hex": "#888e28",
  "rgb": {
    "r": 136,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 63.529,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62242,
    "c": 0.12229,
    "h": 112.8
  },
  "luminance": 0.24733
}

Semantic roles & 50–950 ramp

primary
#888E28
secondary
#605BB7
accent
#48DF51
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #888E28

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

Preview Lab → · Contrast checker → · Palette generator →

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