#888E1F#888E1F

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

Color values

HEX#888E1F
RGBrgb(136, 142, 31)
HSLhsl(63, 64%, 34%)
HSVhsv(63, 78%, 56%)
CMYKcmyk(4.2%, 0%, 78.2%, 44.3%)
CIE-LABlab(56.76, -15.87, 53.82)
CIE-LCHlch(56.76, 56.11, 106.42°)
OKLaboklab(62.18% -0.0494 0.1178)
OKLCHoklch(62.18% 0.128 112.8)
XYZxyz(20.0743, 24.6796, 5.0022)
Luminance0.2468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888E1F #251F8E
analogous
#8E5D1F #888E1F #518E1F
triadic
#888E1F #1F888E #8E1F88
tetradic
#888E1F #1F8E5D #251F8E #8E1F51
square
#888E1F #1F8E5D #251F8E #8E1F51
split-complementary
#888E1F #1F518E #5D1F8E
monochromatic
#282A09 #585C14 #888E1F #B8C02A #D1D94F

Accessibility & contrast

On white

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

On black

5.94
#888E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888E1F
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888E1F#FFFFFF#000000##000000
##888E1F1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998701
Deuteranopia (green-blind)
#998929
Tritanopia (blue-blind)
#928579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #888e1f;
/* rgb */ color: rgb(136, 142, 31);
/* oklch */ color: oklch(62.2% 0.128 112.8);
Tailwind
colors: {
  custom: {
    50: '#aeae65',
    500: '#888e1f',
    950: '#000000',
  },
}
SCSS
$custom: #888e1f;
$custom-light: #aeae65;
$custom-dark: #000000;
JSON
{
  "hex": "#888e1f",
  "rgb": {
    "r": 136,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 63.243,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62182,
    "c": 0.12773,
    "h": 112.8
  },
  "luminance": 0.24679
}

Semantic roles & 50–950 ramp

primary
#888E1F
secondary
#534DBB
accent
#41E74A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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