#888D22#888D22

#888D22 is a mid, vivid yellow. Relative luminance 0.244; OKLCH L 62.0% C 0.125 H 112.2°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#888D22
RGBrgb(136, 141, 34)
HSLhsl(63, 61%, 34%)
HSVhsv(63, 76%, 55%)
CMYKcmyk(3.5%, 0%, 75.9%, 44.7%)
CIE-LABlab(56.49, -15.21, 52.55)
CIE-LCHlch(56.49, 54.70, 106.14°)
OKLaboklab(61.97% -0.0473 0.1157)
OKLCHoklch(61.97% 0.125 112.2)
XYZxyz(19.9676, 24.4000, 5.1709)
Luminance0.2440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888D22 #27228D
analogous
#8D5D22 #888D22 #538D22
triadic
#888D22 #22888D #8D2288
tetradic
#888D22 #228D5D #27228D #8D2253
square
#888D22 #228D5D #27228D #8D2253
split-complementary
#888D22 #22538D #5D228D
monochromatic
#292A0A #585C16 #888D22 #B8BE2E #D0D654

Accessibility & contrast

On white

3.57
#888D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#888D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888D22
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888D22#FFFFFF#000000##000000
##888D221.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#98860A
Deuteranopia (green-blind)
#98892B
Tritanopia (blue-blind)
#928479
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #888d22;
/* rgb */ color: rgb(136, 141, 34);
/* oklch */ color: oklch(62.0% 0.125 112.2);
Tailwind
colors: {
  custom: {
    50: '#aeae66',
    500: '#888d22',
    950: '#000000',
  },
}
SCSS
$custom: #888d22;
$custom-light: #aeae66;
$custom-dark: #000000;
JSON
{
  "hex": "#888d22",
  "rgb": {
    "r": 136,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 62.804,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61966,
    "c": 0.12495,
    "h": 112.2
  },
  "luminance": 0.24399
}

Semantic roles & 50–950 ramp

primary
#888D22
secondary
#5651B9
accent
#44E44B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888D22

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

Preview Lab → · Contrast checker → · Palette generator →

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