#8A7E33#8A7E33

#8A7E33 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.9% C 0.097 H 100.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8A7E33
RGBrgb(138, 126, 51)
HSLhsl(52, 46%, 37%)
HSVhsv(52, 63%, 54%)
CMYKcmyk(0%, 8.7%, 63%, 45.9%)
CIE-LABlab(52.47, -5.15, 41.42)
CIE-LCHlch(52.47, 41.74, 97.09°)
OKLaboklab(58.85% -0.0172 0.095)
OKLCHoklch(58.85% 0.097 100.3)
XYZxyz(18.5404, 20.5648, 6.1241)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7E33 #333F8A
analogous
#8A5333 #8A7E33 #6B8A33
triadic
#8A7E33 #338A7E #7E338A
tetradic
#8A7E33 #338A53 #333F8A #8A336B
square
#8A7E33 #338A53 #333F8A #8A336B
split-complementary
#8A7E33 #336B8A #53338A
monochromatic
#312C12 #5D5522 #8A7E33 #B7A744 #C9BD6E

Accessibility & contrast

On white

4.11
#8A7E33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#8A7E33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7E33
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7E33#FFFFFF#000000##000000
##8A7E331.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B2B
Deuteranopia (green-blind)
#8D7F37
Tritanopia (blue-blind)
#94756E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a7e33;
/* rgb */ color: rgb(138, 126, 51);
/* oklch */ color: oklch(58.9% 0.097 100.3);
Tailwind
colors: {
  custom: {
    50: '#afa36e',
    500: '#8a7e33',
    950: '#000000',
  },
}
SCSS
$custom: #8a7e33;
$custom-light: #afa36e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7e33",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 51
  },
  "hsl": {
    "h": 51.724,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.5885,
    "c": 0.09654,
    "h": 100.3
  },
  "luminance": 0.20564
}

Semantic roles & 50–950 ramp

primary
#8A7E33
secondary
#6772B1
accent
#64D652
background
#FBFAF6
surface
#F6F3EC
border
#D0CDC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A7E33

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

Preview Lab → · Contrast checker → · Palette generator →

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