#888C2D#888C2D

#888C2D is a mid, moderate yellow. Relative luminance 0.242; OKLCH L 61.8% C 0.116 H 111.7°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#888C2D
RGBrgb(136, 140, 45)
HSLhsl(63, 51%, 36%)
HSVhsv(63, 68%, 55%)
CMYKcmyk(2.9%, 0%, 67.9%, 45.1%)
CIE-LABlab(56.27, -14.08, 48.09)
CIE-LCHlch(56.27, 50.11, 106.31°)
OKLaboklab(61.82% -0.043 0.1082)
OKLCHoklch(61.82% 0.116 111.7)
XYZxyz(20.0057, 24.1803, 6.0955)
Luminance0.2418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888C2D #312D8C
analogous
#8C612D #888C2D #598C2D
triadic
#888C2D #2D888C #8C2D88
tetradic
#888C2D #2D8C61 #312D8C #8C2D59
square
#888C2D #2D8C61 #312D8C #8C2D59
split-complementary
#888C2D #2D598C #612D8C
monochromatic
#2E2F0F #5B5E1E #888C2D #B5BA3C #C9CE66

Accessibility & contrast

On white

3.60
#888C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#888C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888C2D
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888C2D#FFFFFF#000000##000000
##888C2D1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861F
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#918379
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #888c2d;
/* rgb */ color: rgb(136, 140, 45);
/* oklch */ color: oklch(61.8% 0.116 111.7);
Tailwind
colors: {
  custom: {
    50: '#adad6c',
    500: '#888c2d',
    950: '#000000',
  },
}
SCSS
$custom: #888c2d;
$custom-light: #adad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#888c2d",
  "rgb": {
    "r": 136,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 62.526,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61815,
    "c": 0.11646,
    "h": 111.7
  },
  "luminance": 0.2418
}

Semantic roles & 50–950 ramp

primary
#888C2D
secondary
#6460B4
accent
#4DDB53
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #888C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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