#8A7833#8A7833

#8A7833 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.5% C 0.091 H 94.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8A7833
RGBrgb(138, 120, 51)
HSLhsl(48, 46%, 37%)
HSVhsv(48, 63%, 54%)
CMYKcmyk(0%, 13%, 63%, 45.9%)
CIE-LABlab(50.78, -1.79, 39.55)
CIE-LCHlch(50.78, 39.59, 92.58°)
OKLaboklab(57.51% -0.0075 0.091)
OKLCHoklch(57.51% 0.091 94.7)
XYZxyz(17.7960, 19.0761, 5.8760)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7833 #33458A
analogous
#8A4C33 #8A7833 #718A33
triadic
#8A7833 #338A78 #78338A
tetradic
#8A7833 #338A4C #33458A #8A3371
square
#8A7833 #338A4C #33458A #8A3371
split-complementary
#8A7833 #33718A #4C338A
monochromatic
#312A12 #5D5122 #8A7833 #B79F44 #C9B66E

Accessibility & contrast

On white

4.36
#8A7833 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8A7833 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7833
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7833#FFFFFF#000000##000000
##8A78331.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#84762C
Deuteranopia (green-blind)
#887B36
Tritanopia (blue-blind)
#956F69
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a7833;
/* rgb */ color: rgb(138, 120, 51);
/* oklch */ color: oklch(57.5% 0.091 94.7);
Tailwind
colors: {
  custom: {
    50: '#af9e6d',
    500: '#8a7833',
    950: '#000000',
  },
}
SCSS
$custom: #8a7833;
$custom-light: #af9e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7833",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 51
  },
  "hsl": {
    "h": 47.586,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57509,
    "c": 0.09132,
    "h": 94.7
  },
  "luminance": 0.19075
}

Semantic roles & 50–950 ramp

primary
#8A7833
secondary
#6777B1
accent
#6DD652
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A7833

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

Preview Lab → · Contrast checker → · Palette generator →

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