#888B2F#888B2F

#888B2F is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.6% C 0.114 H 111.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#888B2F
RGBrgb(136, 139, 47)
HSLhsl(62, 49%, 36%)
HSVhsv(62, 66%, 55%)
CMYKcmyk(2.2%, 0%, 66.2%, 45.5%)
CIE-LABlab(55.99, -13.42, 46.96)
CIE-LCHlch(55.99, 48.84, 105.95°)
OKLaboklab(61.6% -0.041 0.1062)
OKLCHoklch(61.6% 0.114 111.1)
XYZxyz(19.8996, 23.9052, 6.2547)
Luminance0.2391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888B2F #322F8B
analogous
#8B602F #888B2F #5A8B2F
triadic
#888B2F #2F888B #8B2F88
tetradic
#888B2F #2F8B60 #322F8B #8B2F5A
square
#888B2F #2F8B60 #322F8B #8B2F5A
split-complementary
#888B2F #2F5A8B #602F8B
monochromatic
#2F3010 #5B5D20 #888B2F #B5B93E #C9CC68

Accessibility & contrast

On white

3.63
#888B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#888B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888B2F
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888B2F#FFFFFF#000000##000000
##888B2F1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968523
Deuteranopia (green-blind)
#968735
Tritanopia (blue-blind)
#918378
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #888b2f;
/* rgb */ color: rgb(136, 139, 47);
/* oklch */ color: oklch(61.6% 0.114 111.1);
Tailwind
colors: {
  custom: {
    50: '#adac6d',
    500: '#888b2f',
    950: '#000000',
  },
}
SCSS
$custom: #888b2f;
$custom-light: #adac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#888b2f",
  "rgb": {
    "r": 136,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 61.957,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.616,
    "c": 0.11378,
    "h": 111.1
  },
  "luminance": 0.23905
}

Semantic roles & 50–950 ramp

primary
#888B2F
secondary
#6563B3
accent
#4FD953
background
#FAFAF6
surface
#F5F4EC
border
#CFCEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #888B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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