#888E18#888E18

#888E18 is a light, vivid yellow. Relative luminance 0.246; OKLCH L 62.1% C 0.131 H 112.7°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#888E18
RGBrgb(136, 142, 24)
HSLhsl(63, 71%, 33%)
HSVhsv(63, 83%, 56%)
CMYKcmyk(4.2%, 0%, 83.1%, 44.3%)
CIE-LABlab(56.73, -16.13, 55.90)
CIE-LCHlch(56.73, 58.18, 106.10°)
OKLaboklab(62.15% -0.0507 0.1209)
OKLCHoklch(62.15% 0.131 112.7)
XYZxyz(19.9919, 24.6467, 4.5681)
Luminance0.2465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888E18 #1E188E
analogous
#8E5918 #888E18 #4D8E18
triadic
#888E18 #18888E #8E1888
tetradic
#888E18 #188E59 #1E188E #8E184D
square
#888E18 #188E59 #1E188E #8E184D
split-complementary
#888E18 #184D8E #59188E
monochromatic
#242506 #565A0F #888E18 #BAC221 #D7DF41

Accessibility & contrast

On white

3.54
#888E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#888E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888E18
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888E18#FFFFFF#000000##000000
##888E181.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9A8924
Tritanopia (blue-blind)
#928579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #888e18;
/* rgb */ color: rgb(136, 142, 24);
/* oklch */ color: oklch(62.1% 0.131 112.7);
Tailwind
colors: {
  custom: {
    50: '#aeae62',
    500: '#888e18',
    950: '#000000',
  },
}
SCSS
$custom: #888e18;
$custom-light: #aeae62;
$custom-dark: #000000;
JSON
{
  "hex": "#888e18",
  "rgb": {
    "r": 136,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 63.051,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.62146,
    "c": 0.13113,
    "h": 112.7
  },
  "luminance": 0.24646
}

Semantic roles & 50–950 ramp

primary
#888E18
secondary
#4942C0
accent
#3AEE43
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888E18

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

Preview Lab → · Contrast checker → · Palette generator →

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