#888E2A#888E2A

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

Color values

HEX#888E2A
RGBrgb(136, 142, 42)
HSLhsl(64, 54%, 36%)
HSVhsv(64, 70%, 56%)
CMYKcmyk(4.2%, 0%, 70.4%, 44.3%)
CIE-LABlab(56.83, -15.31, 49.88)
CIE-LCHlch(56.83, 52.18, 107.07°)
OKLaboklab(62.26% -0.0468 0.1115)
OKLCHoklch(62.26% 0.121 112.8)
XYZxyz(20.2449, 24.7479, 5.9004)
Luminance0.2475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888E2A #302A8E
analogous
#8E622A #888E2A #568E2A
triadic
#888E2A #2A888E #8E2A88
tetradic
#888E2A #2A8E62 #302A8E #8E2A56
square
#888E2A #2A8E62 #302A8E #8E2A56
split-complementary
#888E2A #2A568E #622A8E
monochromatic
#2E300E #5B5F1C #888E2A #B5BD38 #CAD162

Accessibility & contrast

On white

3.53
#888E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#888E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888E2A
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888E2A#FFFFFF#000000##000000
##888E2A1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#99871A
Deuteranopia (green-blind)
#998931
Tritanopia (blue-blind)
#91857A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #888e2a;
/* rgb */ color: rgb(136, 142, 42);
/* oklch */ color: oklch(62.3% 0.121 112.8);
Tailwind
colors: {
  custom: {
    50: '#aeae6a',
    500: '#888e2a',
    950: '#000000',
  },
}
SCSS
$custom: #888e2a;
$custom-light: #aeae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#888e2a",
  "rgb": {
    "r": 136,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 63.6,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62257,
    "c": 0.12091,
    "h": 112.8
  },
  "luminance": 0.24747
}

Semantic roles & 50–950 ramp

primary
#888E2A
secondary
#635DB6
accent
#4ADE53
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #888E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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