#888E2B#888E2B

#888E2B is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.3% C 0.120 H 112.8°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#888E2B
RGBrgb(136, 142, 43)
HSLhsl(64, 54%, 36%)
HSVhsv(64, 70%, 56%)
CMYKcmyk(4.2%, 0%, 69.7%, 44.3%)
CIE-LABlab(56.84, -15.26, 49.49)
CIE-LCHlch(56.84, 51.79, 107.13°)
OKLaboklab(62.27% -0.0466 0.1108)
OKLCHoklch(62.27% 0.12 112.8)
XYZxyz(20.2630, 24.7551, 5.9958)
Luminance0.2475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888E2B #312B8E
analogous
#8E632B #888E2B #578E2B
triadic
#888E2B #2B888E #8E2B88
tetradic
#888E2B #2B8E63 #312B8E #8E2B57
square
#888E2B #2B8E63 #312B8E #8E2B57
split-complementary
#888E2B #2B578E #632B8E
monochromatic
#2E300F #5B5F1D #888E2B #B5BD39 #C9D063

Accessibility & contrast

On white

3.53
#888E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#888E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888E2B
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888E2B#FFFFFF#000000##000000
##888E2B1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#99871C
Deuteranopia (green-blind)
#998932
Tritanopia (blue-blind)
#91857A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #888e2b;
/* rgb */ color: rgb(136, 142, 43);
/* oklch */ color: oklch(62.3% 0.120 112.8);
Tailwind
colors: {
  custom: {
    50: '#adae6b',
    500: '#888e2b',
    950: '#000000',
  },
}
SCSS
$custom: #888e2b;
$custom-light: #adae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#888e2b",
  "rgb": {
    "r": 136,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 63.636,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62265,
    "c": 0.1202,
    "h": 112.8
  },
  "luminance": 0.24755
}

Semantic roles & 50–950 ramp

primary
#888E2B
secondary
#645FB6
accent
#4BDD54
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #888E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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