#888A22#888A22

#888A22 is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.3% C 0.122 H 110.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#888A22
RGBrgb(136, 138, 34)
HSLhsl(61, 60%, 34%)
HSVhsv(61, 75%, 54%)
CMYKcmyk(1.4%, 0%, 75.4%, 45.9%)
CIE-LABlab(55.61, -13.62, 51.73)
CIE-LCHlch(55.61, 53.49, 104.75°)
OKLaboklab(61.27% -0.0429 0.1139)
OKLCHoklch(61.27% 0.122 110.6)
XYZxyz(19.5312, 23.5272, 5.0254)
Luminance0.2353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888A22 #24228A
analogous
#8A5822 #888A22 #548A22
triadic
#888A22 #22888A #8A2288
tetradic
#888A22 #228A58 #24228A #8A2254
square
#888A22 #228A58 #24228A #8A2254
split-complementary
#888A22 #22548A #58228A
monochromatic
#27280A #585916 #888A22 #B8BB2E #D2D452

Accessibility & contrast

On white

3.68
#888A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#888A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888A22
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888A22#FFFFFF#000000##000000
##888A221.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95840C
Deuteranopia (green-blind)
#96872A
Tritanopia (blue-blind)
#928176
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #888a22;
/* rgb */ color: rgb(136, 138, 34);
/* oklch */ color: oklch(61.3% 0.122 110.6);
Tailwind
colors: {
  custom: {
    50: '#aeab66',
    500: '#888a22',
    950: '#000000',
  },
}
SCSS
$custom: #888a22;
$custom-light: #aeab66;
$custom-dark: #000000;
JSON
{
  "hex": "#888a22",
  "rgb": {
    "r": 136,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 61.154,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.61267,
    "c": 0.12171,
    "h": 110.6
  },
  "luminance": 0.23527
}

Semantic roles & 50–950 ramp

primary
#888A22
secondary
#5250B8
accent
#44E447
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888A22

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

Preview Lab → · Contrast checker → · Palette generator →

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