#888B18#888B18

#888B18 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.4% C 0.128 H 111.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#888B18
RGBrgb(136, 139, 24)
HSLhsl(62, 71%, 32%)
HSVhsv(62, 83%, 55%)
CMYKcmyk(2.2%, 0%, 82.7%, 45.5%)
CIE-LABlab(55.85, -14.55, 55.14)
CIE-LCHlch(55.85, 57.03, 104.79°)
OKLaboklab(61.44% -0.0463 0.1193)
OKLCHoklch(61.44% 0.128 111.2)
XYZxyz(19.5515, 23.7660, 4.4213)
Luminance0.2377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888B18 #1B188B
analogous
#8B5518 #888B18 #4F8B18
triadic
#888B18 #18888B #8B1888
tetradic
#888B18 #188B55 #1B188B #8B184F
square
#888B18 #188B55 #1B188B #8B184F
split-complementary
#888B18 #184F8B #55188B
monochromatic
#222306 #55570F #888B18 #BBBF21 #DADE3F

Accessibility & contrast

On white

3.65
#888B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#888B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888B18
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888B18#FFFFFF#000000##000000
##888B181.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#978723
Tritanopia (blue-blind)
#928276
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #888b18;
/* rgb */ color: rgb(136, 139, 24);
/* oklch */ color: oklch(61.4% 0.128 111.2);
Tailwind
colors: {
  custom: {
    50: '#aeac61',
    500: '#888b18',
    950: '#000000',
  },
}
SCSS
$custom: #888b18;
$custom-light: #aeac61;
$custom-dark: #000000;
JSON
{
  "hex": "#888b18",
  "rgb": {
    "r": 136,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 61.565,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61444,
    "c": 0.12798,
    "h": 111.2
  },
  "luminance": 0.23765
}

Semantic roles & 50–950 ramp

primary
#888B18
secondary
#4440BE
accent
#3AED3F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888B18

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

Preview Lab → · Contrast checker → · Palette generator →

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