#888F2F#888F2F

#888F2F is a light, moderate yellow. Relative luminance 0.251; OKLCH L 62.5% C 0.118 H 113.3°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#888F2F
RGBrgb(136, 143, 47)
HSLhsl(64, 51%, 37%)
HSVhsv(64, 67%, 56%)
CMYKcmyk(4.9%, 0%, 67.1%, 43.9%)
CIE-LABlab(57.16, -15.53, 48.16)
CIE-LCHlch(57.16, 50.61, 107.88°)
OKLaboklab(62.53% -0.0469 0.1087)
OKLCHoklch(62.53% 0.118 113.3)
XYZxyz(20.4894, 25.0848, 6.4513)
Luminance0.2508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888F2F #362F8F
analogous
#8F662F #888F2F #588F2F
triadic
#888F2F #2F888F #8F2F88
tetradic
#888F2F #2F8F66 #362F8F #8F2F58
square
#888F2F #2F8F66 #362F8F #8F2F58
split-complementary
#888F2F #2F588F #662F8F
monochromatic
#303311 #5C6120 #888F2F #B4BD3E #C7CE6A

Accessibility & contrast

On white

3.49
#888F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#888F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888F2F
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888F2F#FFFFFF#000000##000000
##888F2F1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998822
Deuteranopia (green-blind)
#998A36
Tritanopia (blue-blind)
#91877B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #888f2f;
/* rgb */ color: rgb(136, 143, 47);
/* oklch */ color: oklch(62.5% 0.118 113.3);
Tailwind
colors: {
  custom: {
    50: '#adaf6d',
    500: '#888f2f',
    950: '#000000',
  },
}
SCSS
$custom: #888f2f;
$custom-light: #adaf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#888f2f",
  "rgb": {
    "r": 136,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 64.375,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62532,
    "c": 0.11839,
    "h": 113.3
  },
  "luminance": 0.25084
}

Semantic roles & 50–950 ramp

primary
#888F2F
secondary
#6A65B5
accent
#4EDA58
background
#FAFAF6
surface
#F5F4EC
border
#CFCEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #888F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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