#888E1B#888E1B

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

Color values

HEX#888E1B
RGBrgb(136, 142, 27)
HSLhsl(63, 68%, 33%)
HSVhsv(63, 81%, 56%)
CMYKcmyk(4.2%, 0%, 81%, 44.3%)
CIE-LABlab(56.74, -16.03, 55.05)
CIE-LCHlch(56.74, 57.34, 106.23°)
OKLaboklab(62.16% -0.0502 0.1197)
OKLCHoklch(62.16% 0.13 112.7)
XYZxyz(20.0248, 24.6598, 4.7417)
Luminance0.2466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888E1B #211B8E
analogous
#8E5A1B #888E1B #4F8E1B
triadic
#888E1B #1B888E #8E1B88
tetradic
#888E1B #1B8E5A #211B8E #8E1B4F
square
#888E1B #1B8E5A #211B8E #8E1B4F
split-complementary
#888E1B #1B4F8E #5A1B8E
monochromatic
#252707 #575B11 #888E1B #B9C125 #D4DC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##888E1B#FFFFFF#000000##000000
##888E1B1.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)
#998926
Tritanopia (blue-blind)
#928579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #888e1b;
/* rgb */ color: rgb(136, 142, 27);
/* oklch */ color: oklch(62.2% 0.130 112.7);
Tailwind
colors: {
  custom: {
    50: '#aeae63',
    500: '#888e1b',
    950: '#000000',
  },
}
SCSS
$custom: #888e1b;
$custom-light: #aeae63;
$custom-dark: #000000;
JSON
{
  "hex": "#888e1b",
  "rgb": {
    "r": 136,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 63.13,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.6216,
    "c": 0.12976,
    "h": 112.7
  },
  "luminance": 0.24659
}

Semantic roles & 50–950 ramp

primary
#888E1B
secondary
#4D47BE
accent
#3DEB46
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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