#888229#888229

#888229 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.5% C 0.109 H 105.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#888229
RGBrgb(136, 130, 41)
HSLhsl(56, 54%, 35%)
HSVhsv(56, 70%, 53%)
CMYKcmyk(0%, 4.4%, 69.9%, 46.7%)
CIE-LABlab(53.34, -8.93, 46.79)
CIE-LCHlch(53.34, 47.63, 100.80°)
OKLaboklab(59.47% -0.029 0.1048)
OKLCHoklch(59.47% 0.109 105.5)
XYZxyz(18.5369, 21.3603, 5.2439)
Luminance0.2136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888229 #292F88
analogous
#885329 #888229 #5E8829
triadic
#888229 #298882 #822988
tetradic
#888229 #298853 #292F88 #88295E
square
#888229 #298853 #292F88 #88295E
split-complementary
#888229 #295E88 #532988
monochromatic
#2A280D #59551B #888229 #B7AF37 #CEC75D

Accessibility & contrast

On white

3.98
#888229 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#888229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888229
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888229#FFFFFF#000000##000000
##8882291.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1C
Deuteranopia (green-blind)
#90812F
Tritanopia (blue-blind)
#927970
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #888229;
/* rgb */ color: rgb(136, 130, 41);
/* oklch */ color: oklch(59.5% 0.109 105.5);
Tailwind
colors: {
  custom: {
    50: '#aea668',
    500: '#888229',
    950: '#000000',
  },
}
SCSS
$custom: #888229;
$custom-light: #aea668;
$custom-dark: #000000;
JSON
{
  "hex": "#888229",
  "rgb": {
    "r": 136,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 56.211,
    "s": 53.672,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59471,
    "c": 0.10872,
    "h": 105.5
  },
  "luminance": 0.2136
}

Semantic roles & 50–950 ramp

primary
#888229
secondary
#595FB4
accent
#54DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #888229

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

Preview Lab → · Contrast checker → · Palette generator →

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