#888226#888226

#888226 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.4% C 0.111 H 105.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#888226
RGBrgb(136, 130, 38)
HSLhsl(56, 56%, 34%)
HSVhsv(56, 72%, 53%)
CMYKcmyk(0%, 4.4%, 72.1%, 46.7%)
CIE-LABlab(53.32, -9.10, 48.00)
CIE-LCHlch(53.32, 48.85, 100.73°)
OKLaboklab(59.45% -0.0298 0.1068)
OKLCHoklch(59.45% 0.111 105.6)
XYZxyz(18.4866, 21.3401, 4.9786)
Luminance0.2134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888226 #262C88
analogous
#885126 #888226 #5D8826
triadic
#888226 #268882 #822688
tetradic
#888226 #268851 #262C88 #88265D
square
#888226 #268851 #262C88 #88265D
split-complementary
#888226 #265D88 #512688
monochromatic
#28270B #585419 #888226 #B8B033 #D0C958

Accessibility & contrast

On white

3.99
#888226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#888226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888226
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888226#FFFFFF#000000##000000
##8882261.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D17
Deuteranopia (green-blind)
#90812C
Tritanopia (blue-blind)
#927970
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #888226;
/* rgb */ color: rgb(136, 130, 38);
/* oklch */ color: oklch(59.4% 0.111 105.6);
Tailwind
colors: {
  custom: {
    50: '#aea667',
    500: '#888226',
    950: '#000000',
  },
}
SCSS
$custom: #888226;
$custom-light: #aea667;
$custom-dark: #000000;
JSON
{
  "hex": "#888226",
  "rgb": {
    "r": 136,
    "g": 130,
    "b": 38
  },
  "hsl": {
    "h": 56.327,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59446,
    "c": 0.11087,
    "h": 105.6
  },
  "luminance": 0.21339
}

Semantic roles & 50–950 ramp

primary
#888226
secondary
#555BB5
accent
#51E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #888226

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

Preview Lab → · Contrast checker → · Palette generator →

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