#888918#888918

#888918 is a mid, vivid yellow. Relative luminance 0.232; OKLCH L 61.0% C 0.126 H 110.2°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#888918
RGBrgb(136, 137, 24)
HSLhsl(61, 70%, 32%)
HSVhsv(61, 82%, 54%)
CMYKcmyk(0.7%, 0%, 82.5%, 46.3%)
CIE-LABlab(55.27, -13.49, 54.64)
CIE-LCHlch(55.27, 56.28, 103.87°)
OKLaboklab(60.98% -0.0434 0.1182)
OKLCHoklch(60.98% 0.126 110.2)
XYZxyz(19.2646, 23.1921, 4.3257)
Luminance0.2319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888918 #191889
analogous
#895218 #888918 #508918
triadic
#888918 #188889 #891888
tetradic
#888918 #188952 #191889 #891850
square
#888918 #188952 #191889 #891850
split-complementary
#888918 #185089 #521889
monochromatic
#212106 #54550F #888918 #BCBD21 #DCDD3E

Accessibility & contrast

On white

3.72
#888918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#888918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888918
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888918#FFFFFF#000000##000000
##8889181.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#968623
Tritanopia (blue-blind)
#928075
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #888918;
/* rgb */ color: rgb(136, 137, 24);
/* oklch */ color: oklch(61.0% 0.126 110.2);
Tailwind
colors: {
  custom: {
    50: '#aeab61',
    500: '#888918',
    950: '#000000',
  },
}
SCSS
$custom: #888918;
$custom-light: #aeab61;
$custom-dark: #000000;
JSON
{
  "hex": "#888918",
  "rgb": {
    "r": 136,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 60.531,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60977,
    "c": 0.12592,
    "h": 110.2
  },
  "luminance": 0.23192
}

Semantic roles & 50–950 ramp

primary
#888918
secondary
#4140BD
accent
#3BED3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #888918

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

Preview Lab → · Contrast checker → · Palette generator →

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