#888338#888338

#888338 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 59.9% C 0.097 H 105.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#888338
RGBrgb(136, 131, 56)
HSLhsl(56, 42%, 38%)
HSVhsv(56, 59%, 53%)
CMYKcmyk(0%, 3.7%, 58.8%, 46.7%)
CIE-LABlab(53.76, -8.43, 40.39)
CIE-LCHlch(53.76, 41.27, 101.79°)
OKLaboklab(59.85% -0.0258 0.0935)
OKLCHoklch(59.85% 0.097 105.4)
XYZxyz(18.9841, 21.7530, 6.9393)
Luminance0.2175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888338 #383D88
analogous
#885B38 #888338 #658838
triadic
#888338 #388883 #833888
tetradic
#888338 #38885B #383D88 #883865
square
#888338 #38885B #383D88 #883865
split-complementary
#888338 #386588 #5B3888
monochromatic
#312F14 #5D5926 #888338 #B3AD4A #C6C174

Accessibility & contrast

On white

3.92
#888338 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#888338 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888338
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888338#FFFFFF#000000##000000
##8883381.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F30
Deuteranopia (green-blind)
#8F823C
Tritanopia (blue-blind)
#917B73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #888338;
/* rgb */ color: rgb(136, 131, 56);
/* oklch */ color: oklch(59.9% 0.097 105.4);
Tailwind
colors: {
  custom: {
    50: '#ada671',
    500: '#888338',
    950: '#000000',
  },
}
SCSS
$custom: #888338;
$custom-light: #ada671;
$custom-dark: #000000;
JSON
{
  "hex": "#888338",
  "rgb": {
    "r": 136,
    "g": 131,
    "b": 56
  },
  "hsl": {
    "h": 56.25,
    "s": 41.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.5985,
    "c": 0.09704,
    "h": 105.4
  },
  "luminance": 0.21752
}

Semantic roles & 50–950 ramp

primary
#888338
secondary
#6D71AF
accent
#5ED156
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#100F08
muted
#7F7F7B

Preview Lab

Preview with #888338

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

Preview Lab → · Contrast checker → · Palette generator →

#888338 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva