#888227#888227

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

Color values

HEX#888227
RGBrgb(136, 130, 39)
HSLhsl(56, 55%, 34%)
HSVhsv(56, 71%, 53%)
CMYKcmyk(0%, 4.4%, 71.3%, 46.7%)
CIE-LABlab(53.33, -9.04, 47.60)
CIE-LCHlch(53.33, 48.45, 100.75°)
OKLaboklab(59.45% -0.0295 0.1061)
OKLCHoklch(59.45% 0.11 105.5)
XYZxyz(18.5029, 21.3467, 5.0647)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888227 #272D88
analogous
#885227 #888227 #5E8827
triadic
#888227 #278882 #822788
tetradic
#888227 #278852 #272D88 #88275E
square
#888227 #278852 #272D88 #88275E
split-complementary
#888227 #275E88 #522788
monochromatic
#29270C #585519 #888227 #B8AF35 #D0C85A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##888227#FFFFFF#000000##000000
##8882271.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)
#8D7D19
Deuteranopia (green-blind)
#90812D
Tritanopia (blue-blind)
#927970
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #888227;
/* rgb */ color: rgb(136, 130, 39);
/* oklch */ color: oklch(59.5% 0.110 105.5);
Tailwind
colors: {
  custom: {
    50: '#aea667',
    500: '#888227',
    950: '#000000',
  },
}
SCSS
$custom: #888227;
$custom-light: #aea667;
$custom-dark: #000000;
JSON
{
  "hex": "#888227",
  "rgb": {
    "r": 136,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 56.289,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59454,
    "c": 0.11016,
    "h": 105.5
  },
  "luminance": 0.21346
}

Semantic roles & 50–950 ramp

primary
#888227
secondary
#565CB5
accent
#52DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #888227

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

Preview Lab → · Contrast checker → · Palette generator →

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