#888F1F#888F1F

#888F1F is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.4% C 0.129 H 113.3°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#888F1F
RGBrgb(136, 143, 31)
HSLhsl(64, 64%, 34%)
HSVhsv(64, 78%, 56%)
CMYKcmyk(4.9%, 0%, 78.3%, 43.9%)
CIE-LABlab(57.05, -16.39, 54.09)
CIE-LCHlch(57.05, 56.52, 106.86°)
OKLaboklab(62.42% -0.0509 0.1184)
OKLCHoklch(62.42% 0.129 113.3)
XYZxyz(20.2238, 24.9785, 5.0521)
Luminance0.2498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888F1F #261F8F
analogous
#8F5E1F #888F1F #508F1F
triadic
#888F1F #1F888F #8F1F88
tetradic
#888F1F #1F8F5E #261F8F #8F1F50
square
#888F1F #1F8F5E #261F8F #8F1F50
split-complementary
#888F1F #1F508F #5E1F8F
monochromatic
#282A09 #585D14 #888F1F #B8C12A #D0D94F

Accessibility & contrast

On white

3.50
#888F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#888F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888F1F
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888F1F#FFFFFF#000000##000000
##888F1F1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8801
Deuteranopia (green-blind)
#9A8A29
Tritanopia (blue-blind)
#92867A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #888f1f;
/* rgb */ color: rgb(136, 143, 31);
/* oklch */ color: oklch(62.4% 0.129 113.3);
Tailwind
colors: {
  custom: {
    50: '#aeaf65',
    500: '#888f1f',
    950: '#000000',
  },
}
SCSS
$custom: #888f1f;
$custom-light: #aeaf65;
$custom-dark: #000000;
JSON
{
  "hex": "#888f1f",
  "rgb": {
    "r": 136,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 63.75,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62417,
    "c": 0.12882,
    "h": 113.3
  },
  "luminance": 0.24978
}

Semantic roles & 50–950 ramp

primary
#888F1F
secondary
#554EBC
accent
#40E74B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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