#8A8333#8A8333

#8A8333 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.0% C 0.101 H 104.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8A8333
RGBrgb(138, 131, 51)
HSLhsl(55, 46%, 37%)
HSVhsv(55, 63%, 54%)
CMYKcmyk(0%, 5.1%, 63%, 45.9%)
CIE-LABlab(53.89, -7.92, 42.98)
CIE-LCHlch(53.89, 43.70, 100.44°)
OKLaboklab(59.98% -0.0251 0.0983)
OKLCHoklch(59.98% 0.101 104.3)
XYZxyz(19.1958, 21.8756, 6.3426)
Luminance0.2188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8333 #333A8A
analogous
#8A5733 #8A8333 #668A33
triadic
#8A8333 #338A83 #83338A
tetradic
#8A8333 #338A57 #333A8A #8A3366
square
#8A8333 #338A57 #333A8A #8A3366
split-complementary
#8A8333 #33668A #57338A
monochromatic
#312E12 #5D5922 #8A8333 #B7AD44 #C9C26E

Accessibility & contrast

On white

3.91
#8A8333 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8A8333 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8333
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8333#FFFFFF#000000##000000
##8A83331.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F2A
Deuteranopia (green-blind)
#918337
Tritanopia (blue-blind)
#947A72
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a8333;
/* rgb */ color: rgb(138, 131, 51);
/* oklch */ color: oklch(60.0% 0.101 104.3);
Tailwind
colors: {
  custom: {
    50: '#afa66e',
    500: '#8a8333',
    950: '#000000',
  },
}
SCSS
$custom: #8a8333;
$custom-light: #afa66e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8333",
  "rgb": {
    "r": 138,
    "g": 131,
    "b": 51
  },
  "hsl": {
    "h": 55.172,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59982,
    "c": 0.10146,
    "h": 104.3
  },
  "luminance": 0.21875
}

Semantic roles & 50–950 ramp

primary
#8A8333
secondary
#676DB1
accent
#5DD652
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A8333

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

Preview Lab → · Contrast checker → · Palette generator →

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