#888B1F#888B1F

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

Color values

HEX#888B1F
RGBrgb(136, 139, 31)
HSLhsl(62, 64%, 33%)
HSVhsv(62, 78%, 55%)
CMYKcmyk(2.2%, 0%, 77.7%, 45.5%)
CIE-LABlab(55.89, -14.28, 53.02)
CIE-LCHlch(55.89, 54.91, 105.08°)
OKLaboklab(61.48% -0.045 0.1161)
OKLCHoklch(61.48% 0.125 111.2)
XYZxyz(19.6340, 23.7989, 4.8555)
Luminance0.2380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888B1F #221F8B
analogous
#8B581F #888B1F #528B1F
triadic
#888B1F #1F888B #8B1F88
tetradic
#888B1F #1F8B58 #221F8B #8B1F52
square
#888B1F #1F8B58 #221F8B #8B1F52
split-complementary
#888B1F #1F528B #581F8B
monochromatic
#262709 #575914 #888B1F #B9BD2A #D3D74D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##888B1F#FFFFFF#000000##000000
##888B1F1.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)
#968403
Deuteranopia (green-blind)
#978728
Tritanopia (blue-blind)
#928277
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #888b1f;
/* rgb */ color: rgb(136, 139, 31);
/* oklch */ color: oklch(61.5% 0.124 111.2);
Tailwind
colors: {
  custom: {
    50: '#aeac64',
    500: '#888b1f',
    950: '#000000',
  },
}
SCSS
$custom: #888b1f;
$custom-light: #aeac64;
$custom-dark: #000000;
JSON
{
  "hex": "#888b1f",
  "rgb": {
    "r": 136,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 61.667,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61481,
    "c": 0.1245,
    "h": 111.2
  },
  "luminance": 0.23798
}

Semantic roles & 50–950 ramp

primary
#888B1F
secondary
#4F4CBA
accent
#41E746
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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