#888F38#888F38

#888F38 is a light, moderate yellow. Relative luminance 0.252; OKLCH L 62.6% C 0.111 H 113.4°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#888F38
RGBrgb(136, 143, 56)
HSLhsl(65, 44%, 39%)
HSVhsv(65, 61%, 56%)
CMYKcmyk(4.9%, 0%, 60.8%, 43.9%)
CIE-LABlab(57.24, -14.89, 44.26)
CIE-LCHlch(57.24, 46.69, 108.60°)
OKLaboklab(62.62% -0.0441 0.1018)
OKLCHoklch(62.62% 0.111 113.4)
XYZxyz(20.6901, 25.1651, 7.5080)
Luminance0.2516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888F38 #3F388F
analogous
#8F6B38 #888F38 #5D8F38
triadic
#888F38 #38888F #8F3888
tetradic
#888F38 #388F6B #3F388F #8F385D
square
#888F38 #388F6B #3F388F #8F385D
split-complementary
#888F38 #385D8F #6B388F
monochromatic
#343716 #5E6327 #888F38 #B0B94B #C3CA77

Accessibility & contrast

On white

3.48
#888F38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#888F38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888F38
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888F38#FFFFFF#000000##000000
##888F381.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99882E
Deuteranopia (green-blind)
#998A3D
Tritanopia (blue-blind)
#90877C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #888f38;
/* rgb */ color: rgb(136, 143, 56);
/* oklch */ color: oklch(62.6% 0.111 113.4);
Tailwind
colors: {
  custom: {
    50: '#adaf72',
    500: '#888f38',
    950: '#000000',
  },
}
SCSS
$custom: #888f38;
$custom-light: #adaf72;
$custom-dark: #000000;
JSON
{
  "hex": "#888f38",
  "rgb": {
    "r": 136,
    "g": 143,
    "b": 56
  },
  "hsl": {
    "h": 64.828,
    "s": 43.719,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6262,
    "c": 0.11093,
    "h": 113.4
  },
  "luminance": 0.25165
}

Semantic roles & 50–950 ramp

primary
#888F38
secondary
#7570B3
accent
#54D35F
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#101008
muted
#7F7F7B

Preview Lab

Preview with #888F38

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

Preview Lab → · Contrast checker → · Palette generator →

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