#888D2B#888D2B

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

Color values

HEX#888D2B
RGBrgb(136, 141, 43)
HSLhsl(63, 53%, 36%)
HSVhsv(63, 70%, 55%)
CMYKcmyk(3.5%, 0%, 69.5%, 44.7%)
CIE-LABlab(56.54, -14.73, 49.20)
CIE-LCHlch(56.54, 51.35, 106.67°)
OKLaboklab(62.03% -0.0451 0.1102)
OKLCHoklch(62.03% 0.119 112.2)
XYZxyz(20.1149, 24.4589, 5.9465)
Luminance0.2446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888D2B #302B8D
analogous
#8D612B #888D2B #578D2B
triadic
#888D2B #2B888D #8D2B88
tetradic
#888D2B #2B8D61 #302B8D #8D2B57
square
#888D2B #2B8D61 #302B8D #8D2B57
split-complementary
#888D2B #2B578D #612B8D
monochromatic
#2E2F0E #5B5E1D #888D2B #B5BC39 #CACF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##888D2B#FFFFFF#000000##000000
##888D2B1.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)
#98861C
Deuteranopia (green-blind)
#988932
Tritanopia (blue-blind)
#918479
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #888d2b;
/* rgb */ color: rgb(136, 141, 43);
/* oklch */ color: oklch(62.0% 0.119 112.2);
Tailwind
colors: {
  custom: {
    50: '#adae6b',
    500: '#888d2b',
    950: '#000000',
  },
}
SCSS
$custom: #888d2b;
$custom-light: #adae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#888d2b",
  "rgb": {
    "r": 136,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 63.061,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62032,
    "c": 0.11906,
    "h": 112.2
  },
  "luminance": 0.24458
}

Semantic roles & 50–950 ramp

primary
#888D2B
secondary
#635EB6
accent
#4BDD53
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #888D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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