#888C1F#888C1F

#888C1F is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.7% C 0.126 H 111.7°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#888C1F
RGBrgb(136, 140, 31)
HSLhsl(62, 64%, 34%)
HSVhsv(62, 78%, 55%)
CMYKcmyk(2.9%, 0%, 77.9%, 45.1%)
CIE-LABlab(56.18, -14.81, 53.29)
CIE-LCHlch(56.18, 55.31, 105.53°)
OKLaboklab(61.71% -0.0465 0.1167)
OKLCHoklch(61.71% 0.126 111.7)
XYZxyz(19.7794, 24.0898, 4.9039)
Luminance0.2409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888C1F #231F8C
analogous
#8C591F #888C1F #518C1F
triadic
#888C1F #1F888C #8C1F88
tetradic
#888C1F #1F8C59 #231F8C #8C1F51
square
#888C1F #1F8C59 #231F8C #8C1F51
split-complementary
#888C1F #1F518C #591F8C
monochromatic
#272809 #575A14 #888C1F #B9BE2A #D3D84E

Accessibility & contrast

On white

3.61
#888C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#888C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888C1F
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888C1F#FFFFFF#000000##000000
##888C1F1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978503
Deuteranopia (green-blind)
#988828
Tritanopia (blue-blind)
#928378
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #888c1f;
/* rgb */ color: rgb(136, 140, 31);
/* oklch */ color: oklch(61.7% 0.126 111.7);
Tailwind
colors: {
  custom: {
    50: '#aead64',
    500: '#888c1f',
    950: '#000000',
  },
}
SCSS
$custom: #888c1f;
$custom-light: #aead64;
$custom-dark: #000000;
JSON
{
  "hex": "#888c1f",
  "rgb": {
    "r": 136,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 62.202,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61714,
    "c": 0.12557,
    "h": 111.7
  },
  "luminance": 0.24089
}

Semantic roles & 50–950 ramp

primary
#888C1F
secondary
#504CBB
accent
#41E747
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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