#8A7935#8A7935

#8A7935 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.8% C 0.090 H 95.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8A7935
RGBrgb(138, 121, 53)
HSLhsl(48, 45%, 37%)
HSVhsv(48, 62%, 54%)
CMYKcmyk(0%, 12.3%, 61.6%, 45.9%)
CIE-LABlab(51.08, -2.20, 38.90)
CIE-LCHlch(51.08, 38.96, 93.24°)
OKLaboklab(57.75% -0.0085 0.0899)
OKLCHoklch(57.75% 0.09 95.4)
XYZxyz(17.9620, 19.3359, 6.1536)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7935 #35468A
analogous
#8A4E35 #8A7935 #718A35
triadic
#8A7935 #358A79 #79358A
tetradic
#8A7935 #358A4E #35468A #8A3571
square
#8A7935 #358A4E #35468A #8A3571
split-complementary
#8A7935 #35718A #4E358A
monochromatic
#322B13 #5E5224 #8A7935 #B6A046 #C8B771

Accessibility & contrast

On white

4.31
#8A7935 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#8A7935 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7935
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7935#FFFFFF#000000##000000
##8A79351.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85772E
Deuteranopia (green-blind)
#897C38
Tritanopia (blue-blind)
#94706A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a7935;
/* rgb */ color: rgb(138, 121, 53);
/* oklch */ color: oklch(57.8% 0.090 95.4);
Tailwind
colors: {
  custom: {
    50: '#af9f6f',
    500: '#8a7935',
    950: '#000000',
  },
}
SCSS
$custom: #8a7935;
$custom-light: #af9f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7935",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 53
  },
  "hsl": {
    "h": 48,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57754,
    "c": 0.0903,
    "h": 95.4
  },
  "luminance": 0.19335
}

Semantic roles & 50–950 ramp

primary
#8A7935
secondary
#6A78B1
accent
#6DD454
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A7935

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

Preview Lab → · Contrast checker → · Palette generator →

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