#8A8733#8A8733

#8A8733 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 60.9% C 0.106 H 107.2°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8A8733
RGBrgb(138, 135, 51)
HSLhsl(58, 46%, 37%)
HSVhsv(58, 63%, 54%)
CMYKcmyk(0%, 2.2%, 63%, 45.9%)
CIE-LABlab(55.04, -10.10, 44.22)
CIE-LCHlch(55.04, 45.36, 102.86°)
OKLaboklab(60.9% -0.0313 0.1009)
OKLCHoklch(60.9% 0.106 107.2)
XYZxyz(19.7434, 22.9708, 6.5251)
Luminance0.2297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8733 #33368A
analogous
#8A5C33 #8A8733 #628A33
triadic
#8A8733 #338A87 #87338A
tetradic
#8A8733 #338A5C #33368A #8A3362
square
#8A8733 #338A5C #33368A #8A3362
split-complementary
#8A8733 #33628A #5C338A
monochromatic
#313012 #5D5B22 #8A8733 #B7B344 #C9C66E

Accessibility & contrast

On white

3.75
#8A8733 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#8A8733 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8733
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8733#FFFFFF#000000##000000
##8A87331.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928229
Deuteranopia (green-blind)
#948538
Tritanopia (blue-blind)
#947F75
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a8733;
/* rgb */ color: rgb(138, 135, 51);
/* oklch */ color: oklch(60.9% 0.106 107.2);
Tailwind
colors: {
  custom: {
    50: '#afa96f',
    500: '#8a8733',
    950: '#000000',
  },
}
SCSS
$custom: #8a8733;
$custom-light: #afa96f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8733",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 51
  },
  "hsl": {
    "h": 57.931,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60895,
    "c": 0.10568,
    "h": 107.2
  },
  "luminance": 0.2297
}

Semantic roles & 50–950 ramp

primary
#8A8733
secondary
#676AB1
accent
#57D652
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A8733

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

Preview Lab → · Contrast checker → · Palette generator →

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