#888F2D#888F2D

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

Color values

HEX#888F2D
RGBrgb(136, 143, 45)
HSLhsl(64, 52%, 37%)
HSVhsv(64, 69%, 56%)
CMYKcmyk(4.9%, 0%, 68.5%, 43.9%)
CIE-LABlab(57.14, -15.66, 48.98)
CIE-LCHlch(57.14, 51.43, 107.73°)
OKLaboklab(62.52% -0.0475 0.1101)
OKLCHoklch(62.52% 0.12 113.3)
XYZxyz(20.4500, 25.0690, 6.2437)
Luminance0.2507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888F2D #342D8F
analogous
#8F652D #888F2D #578F2D
triadic
#888F2D #2D888F #8F2D88
tetradic
#888F2D #2D8F65 #342D8F #8F2D57
square
#888F2D #2D8F65 #342D8F #8F2D57
split-complementary
#888F2D #2D578F #652D8F
monochromatic
#2F3210 #5C601E #888F2D #B4BE3C #C8CF67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##888F2D#FFFFFF#000000##000000
##888F2D1.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)
#9A881F
Deuteranopia (green-blind)
#9A8A34
Tritanopia (blue-blind)
#91867B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #888f2d;
/* rgb */ color: rgb(136, 143, 45);
/* oklch */ color: oklch(62.5% 0.120 113.3);
Tailwind
colors: {
  custom: {
    50: '#adaf6c',
    500: '#888f2d',
    950: '#000000',
  },
}
SCSS
$custom: #888f2d;
$custom-light: #adaf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#888f2d",
  "rgb": {
    "r": 136,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 64.286,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62515,
    "c": 0.1199,
    "h": 113.3
  },
  "luminance": 0.25069
}

Semantic roles & 50–950 ramp

primary
#888F2D
secondary
#6862B6
accent
#4CDC56
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #888F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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