#888D2D#888D2D

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

Color values

HEX#888D2D
RGBrgb(136, 141, 45)
HSLhsl(63, 52%, 36%)
HSVhsv(63, 68%, 55%)
CMYKcmyk(3.5%, 0%, 68.1%, 44.7%)
CIE-LABlab(56.56, -14.61, 48.39)
CIE-LCHlch(56.56, 50.54, 106.80°)
OKLaboklab(62.05% -0.0445 0.1088)
OKLCHoklch(62.05% 0.118 112.3)
XYZxyz(20.1525, 24.4739, 6.1445)
Luminance0.2447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888D2D #322D8D
analogous
#8D622D #888D2D #588D2D
triadic
#888D2D #2D888D #8D2D88
tetradic
#888D2D #2D8D62 #322D8D #8D2D58
square
#888D2D #2D8D62 #322D8D #8D2D58
split-complementary
#888D2D #2D588D #622D8D
monochromatic
#2F300F #5B5F1E #888D2D #B5BB3C #C9CE66

Accessibility & contrast

On white

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

On black

5.89
#888D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888D2D
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888D2D#FFFFFF#000000##000000
##888D2D1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#98861F
Deuteranopia (green-blind)
#988934
Tritanopia (blue-blind)
#91847A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #888d2d;
/* rgb */ color: rgb(136, 141, 45);
/* oklch */ color: oklch(62.0% 0.118 112.3);
Tailwind
colors: {
  custom: {
    50: '#adae6c',
    500: '#888d2d',
    950: '#000000',
  },
}
SCSS
$custom: #888d2d;
$custom-light: #adae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#888d2d",
  "rgb": {
    "r": 136,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 63.125,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62048,
    "c": 0.1176,
    "h": 112.3
  },
  "luminance": 0.24473
}

Semantic roles & 50–950 ramp

primary
#888D2D
secondary
#6561B5
accent
#4DDB54
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #888D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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