#888D2F#888D2F

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

Color values

HEX#888D2F
RGBrgb(136, 141, 47)
HSLhsl(63, 50%, 37%)
HSVhsv(63, 67%, 55%)
CMYKcmyk(3.5%, 0%, 66.7%, 44.7%)
CIE-LABlab(56.57, -14.48, 47.56)
CIE-LCHlch(56.57, 49.72, 106.93°)
OKLaboklab(62.07% -0.044 0.1074)
OKLCHoklch(62.07% 0.116 112.3)
XYZxyz(20.1919, 24.4897, 6.3521)
Luminance0.2449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888D2F #342F8D
analogous
#8D632F #888D2F #598D2F
triadic
#888D2F #2F888D #8D2F88
tetradic
#888D2F #2F8D63 #342F8D #8D2F59
square
#888D2F #2F8D63 #342F8D #8D2F59
split-complementary
#888D2F #2F598D #632F8D
monochromatic
#2F3110 #5C5F20 #888D2F #B4BB3E #C8CD69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##888D2F#FFFFFF#000000##000000
##888D2F1.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)
#988722
Deuteranopia (green-blind)
#988935
Tritanopia (blue-blind)
#91857A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #888d2f;
/* rgb */ color: rgb(136, 141, 47);
/* oklch */ color: oklch(62.1% 0.116 112.3);
Tailwind
colors: {
  custom: {
    50: '#adae6d',
    500: '#888d2f',
    950: '#000000',
  },
}
SCSS
$custom: #888d2f;
$custom-light: #adae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#888d2f",
  "rgb": {
    "r": 136,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 63.191,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62066,
    "c": 0.11608,
    "h": 112.3
  },
  "luminance": 0.24489
}

Semantic roles & 50–950 ramp

primary
#888D2F
secondary
#6864B4
accent
#4EDA56
background
#FAFAF6
surface
#F5F4EC
border
#CFCEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #888D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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