#888C2E#888C2E

#888C2E 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#888C2E
RGBrgb(136, 140, 46)
HSLhsl(63, 51%, 36%)
HSVhsv(63, 67%, 55%)
CMYKcmyk(2.9%, 0%, 67.1%, 45.1%)
CIE-LABlab(56.28, -14.01, 47.68)
CIE-LCHlch(56.28, 49.69, 106.38°)
OKLaboklab(61.82% -0.0428 0.1075)
OKLCHoklch(61.82% 0.116 111.7)
XYZxyz(20.0252, 24.1881, 6.1981)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888C2E #322E8C
analogous
#8C612E #888C2E #598C2E
triadic
#888C2E #2E888C #8C2E88
tetradic
#888C2E #2E8C61 #322E8C #8C2E59
square
#888C2E #2E8C61 #322E8C #8C2E59
split-complementary
#888C2E #2E598C #612E8C
monochromatic
#2F3010 #5B5E1F #888C2E #B5BA3D #C9CD67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##888C2E#FFFFFF#000000##000000
##888C2E1.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)
#978621
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#918379
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #888c2e;
/* rgb */ color: rgb(136, 140, 46);
/* oklch */ color: oklch(61.8% 0.116 111.7);
Tailwind
colors: {
  custom: {
    50: '#adad6c',
    500: '#888c2e',
    950: '#000000',
  },
}
SCSS
$custom: #888c2e;
$custom-light: #adad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#888c2e",
  "rgb": {
    "r": 136,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 62.553,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61824,
    "c": 0.1157,
    "h": 111.7
  },
  "luminance": 0.24188
}

Semantic roles & 50–950 ramp

primary
#888C2E
secondary
#6562B4
accent
#4EDA54
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #888C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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