#8A7933#8A7933

#8A7933 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.7% C 0.092 H 95.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8A7933
RGBrgb(138, 121, 51)
HSLhsl(48, 46%, 37%)
HSVhsv(48, 63%, 54%)
CMYKcmyk(0%, 12.3%, 63%, 45.9%)
CIE-LABlab(51.06, -2.35, 39.86)
CIE-LCHlch(51.06, 39.93, 93.37°)
OKLaboklab(57.73% -0.0091 0.0917)
OKLCHoklch(57.73% 0.092 95.7)
XYZxyz(17.9169, 19.3179, 5.9163)
Luminance0.1932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7933 #33448A
analogous
#8A4E33 #8A7933 #708A33
triadic
#8A7933 #338A79 #79338A
tetradic
#8A7933 #338A4E #33448A #8A3370
square
#8A7933 #338A4E #33448A #8A3370
split-complementary
#8A7933 #33708A #4E338A
monochromatic
#312B12 #5D5222 #8A7933 #B7A044 #C9B86E

Accessibility & contrast

On white

4.32
#8A7933 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8A7933 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7933
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7933#FFFFFF#000000##000000
##8A79331.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#85762B
Deuteranopia (green-blind)
#897C36
Tritanopia (blue-blind)
#95706A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a7933;
/* rgb */ color: rgb(138, 121, 51);
/* oklch */ color: oklch(57.7% 0.092 95.7);
Tailwind
colors: {
  custom: {
    50: '#af9f6e',
    500: '#8a7933',
    950: '#000000',
  },
}
SCSS
$custom: #8a7933;
$custom-light: #af9f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7933",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 51
  },
  "hsl": {
    "h": 48.276,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57731,
    "c": 0.09214,
    "h": 95.7
  },
  "luminance": 0.19317
}

Semantic roles & 50–950 ramp

primary
#8A7933
secondary
#6776B1
accent
#6CD652
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A7933

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

Preview Lab → · Contrast checker → · Palette generator →

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