#888B1C#888B1C

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

Color values

HEX#888B1C
RGBrgb(136, 139, 28)
HSLhsl(62, 66%, 33%)
HSVhsv(62, 80%, 55%)
CMYKcmyk(2.2%, 0%, 79.9%, 45.5%)
CIE-LABlab(55.87, -14.41, 53.97)
CIE-LCHlch(55.87, 55.86, 104.95°)
OKLaboklab(61.46% -0.0456 0.1176)
OKLCHoklch(61.46% 0.126 111.2)
XYZxyz(19.5963, 23.7838, 4.6569)
Luminance0.2378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888B1C #1F1C8B
analogous
#8B571C #888B1C #508B1C
triadic
#888B1C #1C888B #8B1C88
tetradic
#888B1C #1C8B57 #1F1C8B #8B1C50
square
#888B1C #1C8B57 #1F1C8B #8B1C50
split-complementary
#888B1C #1C508B #571C8B
monochromatic
#242507 #565812 #888B1C #BABE26 #D6DA47

Accessibility & contrast

On white

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

On black

5.76
#888B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888B1C
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888B1C#FFFFFF#000000##000000
##888B1C1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#978726
Tritanopia (blue-blind)
#928277
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #888b1c;
/* rgb */ color: rgb(136, 139, 28);
/* oklch */ color: oklch(61.5% 0.126 111.2);
Tailwind
colors: {
  custom: {
    50: '#aeac63',
    500: '#888b1c',
    950: '#000000',
  },
}
SCSS
$custom: #888b1c;
$custom-light: #aeac63;
$custom-dark: #000000;
JSON
{
  "hex": "#888b1c",
  "rgb": {
    "r": 136,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 61.622,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61464,
    "c": 0.12609,
    "h": 111.2
  },
  "luminance": 0.23783
}

Semantic roles & 50–950 ramp

primary
#888B1C
secondary
#4A47BC
accent
#3EE943
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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