#8A8233#8A8233

#8A8233 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.8% C 0.100 H 103.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8A8233
RGBrgb(138, 130, 51)
HSLhsl(54, 46%, 37%)
HSVhsv(54, 63%, 54%)
CMYKcmyk(0%, 5.8%, 63%, 45.9%)
CIE-LABlab(53.61, -7.37, 42.67)
CIE-LCHlch(53.61, 43.30, 99.80°)
OKLaboklab(59.75% -0.0235 0.0977)
OKLCHoklch(59.75% 0.1 103.5)
XYZxyz(19.0621, 21.6083, 6.2980)
Luminance0.2161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8233 #333B8A
analogous
#8A5733 #8A8233 #678A33
triadic
#8A8233 #338A82 #82338A
tetradic
#8A8233 #338A57 #333B8A #8A3367
square
#8A8233 #338A57 #333B8A #8A3367
split-complementary
#8A8233 #33678A #57338A
monochromatic
#312E12 #5D5822 #8A8233 #B7AC44 #C9C16E

Accessibility & contrast

On white

3.95
#8A8233 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#8A8233 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8233
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8233#FFFFFF#000000##000000
##8A82331.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E2A
Deuteranopia (green-blind)
#908237
Tritanopia (blue-blind)
#947971
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a8233;
/* rgb */ color: rgb(138, 130, 51);
/* oklch */ color: oklch(59.8% 0.100 103.5);
Tailwind
colors: {
  custom: {
    50: '#afa66e',
    500: '#8a8233',
    950: '#000000',
  },
}
SCSS
$custom: #8a8233;
$custom-light: #afa66e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8233",
  "rgb": {
    "r": 138,
    "g": 130,
    "b": 51
  },
  "hsl": {
    "h": 54.483,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59754,
    "c": 0.10044,
    "h": 103.5
  },
  "luminance": 0.21608
}

Semantic roles & 50–950 ramp

primary
#8A8233
secondary
#676EB1
accent
#5ED652
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A8233

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

Preview Lab → · Contrast checker → · Palette generator →

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