#888D2E#888D2E

#888D2E is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.1% C 0.117 H 112.3°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#888D2E
RGBrgb(136, 141, 46)
HSLhsl(63, 51%, 37%)
HSVhsv(63, 67%, 55%)
CMYKcmyk(3.5%, 0%, 67.4%, 44.7%)
CIE-LABlab(56.57, -14.54, 47.98)
CIE-LCHlch(56.57, 50.13, 106.86°)
OKLaboklab(62.06% -0.0442 0.1081)
OKLCHoklch(62.06% 0.117 112.3)
XYZxyz(20.1719, 24.4817, 6.2471)
Luminance0.2448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888D2E #332E8D
analogous
#8D632E #888D2E #598D2E
triadic
#888D2E #2E888D #8D2E88
tetradic
#888D2E #2E8D63 #332E8D #8D2E59
square
#888D2E #2E8D63 #332E8D #8D2E59
split-complementary
#888D2E #2E598D #632E8D
monochromatic
#2F3110 #5B5F1F #888D2E #B5BB3D #C8CE68

Accessibility & contrast

On white

3.56
#888D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#888D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888D2E
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888D2E#FFFFFF#000000##000000
##888D2E1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #888d2e;
/* rgb */ color: rgb(136, 141, 46);
/* oklch */ color: oklch(62.1% 0.117 112.3);
Tailwind
colors: {
  custom: {
    50: '#adae6c',
    500: '#888d2e',
    950: '#000000',
  },
}
SCSS
$custom: #888d2e;
$custom-light: #adae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#888d2e",
  "rgb": {
    "r": 136,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 63.158,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62057,
    "c": 0.11684,
    "h": 112.3
  },
  "luminance": 0.24481
}

Semantic roles & 50–950 ramp

primary
#888D2E
secondary
#6762B5
accent
#4EDA55
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #888D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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