#888F2B#888F2B

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

Color values

HEX#888F2B
RGBrgb(136, 143, 43)
HSLhsl(64, 54%, 36%)
HSVhsv(64, 70%, 56%)
CMYKcmyk(4.9%, 0%, 69.9%, 43.9%)
CIE-LABlab(57.13, -15.78, 49.78)
CIE-LCHlch(57.13, 52.22, 107.59°)
OKLaboklab(62.5% -0.048 0.1114)
OKLCHoklch(62.5% 0.121 113.3)
XYZxyz(20.4124, 25.0540, 6.0456)
Luminance0.2505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888F2B #322B8F
analogous
#8F642B #888F2B #568F2B
triadic
#888F2B #2B888F #8F2B88
tetradic
#888F2B #2B8F64 #322B8F #8F2B56
square
#888F2B #2B8F64 #322B8F #8F2B56
split-complementary
#888F2B #2B568F #642B8F
monochromatic
#2F310F #5B601D #888F2B #B5BE39 #C9D064

Accessibility & contrast

On white

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

On black

6.01
#888F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888F2B
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888F2B#FFFFFF#000000##000000
##888F2B1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A881B
Deuteranopia (green-blind)
#9A8A32
Tritanopia (blue-blind)
#91867B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #888f2b;
/* rgb */ color: rgb(136, 143, 43);
/* oklch */ color: oklch(62.5% 0.121 113.3);
Tailwind
colors: {
  custom: {
    50: '#aeaf6b',
    500: '#888f2b',
    950: '#000000',
  },
}
SCSS
$custom: #888f2b;
$custom-light: #aeaf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#888f2b",
  "rgb": {
    "r": 136,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 64.2,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62499,
    "c": 0.12135,
    "h": 113.3
  },
  "luminance": 0.25054
}

Semantic roles & 50–950 ramp

primary
#888F2B
secondary
#655FB7
accent
#4BDD55
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #888F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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