#888A1F#888A1F

#888A1F is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.2% C 0.123 H 110.6°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#888A1F
RGBrgb(136, 138, 31)
HSLhsl(61, 63%, 33%)
HSVhsv(61, 78%, 54%)
CMYKcmyk(1.4%, 0%, 77.5%, 45.9%)
CIE-LABlab(55.59, -13.75, 52.75)
CIE-LCHlch(55.59, 54.51, 104.61°)
OKLaboklab(61.25% -0.0435 0.1155)
OKLCHoklch(61.25% 0.123 110.6)
XYZxyz(19.4898, 23.5107, 4.8074)
Luminance0.2351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888A1F #211F8A
analogous
#8A561F #888A1F #538A1F
triadic
#888A1F #1F888A #8A1F88
tetradic
#888A1F #1F8A56 #211F8A #8A1F53
square
#888A1F #1F8A56 #211F8A #8A1F53
split-complementary
#888A1F #1F538A #561F8A
monochromatic
#252609 #575814 #888A1F #B9BC2A #D4D74C

Accessibility & contrast

On white

3.68
#888A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#888A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888A1F
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888A1F#FFFFFF#000000##000000
##888A1F1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958404
Deuteranopia (green-blind)
#968728
Tritanopia (blue-blind)
#928176
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #888a1f;
/* rgb */ color: rgb(136, 138, 31);
/* oklch */ color: oklch(61.2% 0.123 110.6);
Tailwind
colors: {
  custom: {
    50: '#aeab64',
    500: '#888a1f',
    950: '#000000',
  },
}
SCSS
$custom: #888a1f;
$custom-light: #aeab64;
$custom-dark: #000000;
JSON
{
  "hex": "#888a1f",
  "rgb": {
    "r": 136,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 61.121,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.61248,
    "c": 0.12344,
    "h": 110.6
  },
  "luminance": 0.2351
}

Semantic roles & 50–950 ramp

primary
#888A1F
secondary
#4D4BBA
accent
#41E645
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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