#888F18#888F18

#888F18 is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.4% C 0.132 H 113.2°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#888F18
RGBrgb(136, 143, 24)
HSLhsl(64, 71%, 33%)
HSVhsv(64, 83%, 56%)
CMYKcmyk(4.9%, 0%, 83.2%, 43.9%)
CIE-LABlab(57.02, -16.66, 56.15)
CIE-LCHlch(57.02, 58.57, 106.52°)
OKLaboklab(62.38% -0.0521 0.1215)
OKLCHoklch(62.38% 0.132 113.2)
XYZxyz(20.1413, 24.9456, 4.6180)
Luminance0.2495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888F18 #1F188F
analogous
#8F5A18 #888F18 #4D8F18
triadic
#888F18 #18888F #8F1888
tetradic
#888F18 #188F5A #1F188F #8F184D
square
#888F18 #188F5A #1F188F #8F184D
split-complementary
#888F18 #184D8F #5A188F
monochromatic
#242606 #565B0F #888F18 #BAC321 #D6DF42

Accessibility & contrast

On white

3.51
#888F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#888F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888F18
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888F18#FFFFFF#000000##000000
##888F181.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9A8A24
Tritanopia (blue-blind)
#92867A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #888f18;
/* rgb */ color: rgb(136, 143, 24);
/* oklch */ color: oklch(62.4% 0.132 113.2);
Tailwind
colors: {
  custom: {
    50: '#aeaf62',
    500: '#888f18',
    950: '#000000',
  },
}
SCSS
$custom: #888f18;
$custom-light: #aeaf62;
$custom-dark: #000000;
JSON
{
  "hex": "#888f18",
  "rgb": {
    "r": 136,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 63.529,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.62381,
    "c": 0.1322,
    "h": 113.2
  },
  "luminance": 0.24945
}

Semantic roles & 50–950 ramp

primary
#888F18
secondary
#4A43C0
accent
#3AEE44
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888F18

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

Preview Lab → · Contrast checker → · Palette generator →

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