#8A8833#8A8833

#8A8833 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.1% C 0.107 H 107.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8A8833
RGBrgb(138, 136, 51)
HSLhsl(59, 46%, 37%)
HSVhsv(59, 63%, 54%)
CMYKcmyk(0%, 1.4%, 63%, 45.9%)
CIE-LABlab(55.33, -10.64, 44.53)
CIE-LCHlch(55.33, 45.78, 103.44°)
OKLaboklab(61.12% -0.0328 0.1016)
OKLCHoklch(61.12% 0.107 107.9)
XYZxyz(19.8836, 23.2512, 6.5719)
Luminance0.2325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8833 #33358A
analogous
#8A5D33 #8A8833 #618A33
triadic
#8A8833 #338A88 #88338A
tetradic
#8A8833 #338A5D #33358A #8A3361
square
#8A8833 #338A5D #33358A #8A3361
split-complementary
#8A8833 #33618A #5D338A
monochromatic
#313012 #5D5C22 #8A8833 #B7B444 #C9C76E

Accessibility & contrast

On white

3.72
#8A8833 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#8A8833 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8833
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8833#FFFFFF#000000##000000
##8A88331.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938329
Deuteranopia (green-blind)
#948638
Tritanopia (blue-blind)
#948076
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a8833;
/* rgb */ color: rgb(138, 136, 51);
/* oklch */ color: oklch(61.1% 0.107 107.9);
Tailwind
colors: {
  custom: {
    50: '#afaa6f',
    500: '#8a8833',
    950: '#000000',
  },
}
SCSS
$custom: #8a8833;
$custom-light: #afaa6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8833",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 51
  },
  "hsl": {
    "h": 58.621,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61124,
    "c": 0.10677,
    "h": 107.9
  },
  "luminance": 0.23251
}

Semantic roles & 50–950 ramp

primary
#8A8833
secondary
#6769B1
accent
#55D652
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8833

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

Preview Lab → · Contrast checker → · Palette generator →

#8A8833 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva