#8A7F35#8A7F35

#8A7F35 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.1% C 0.096 H 100.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8A7F35
RGBrgb(138, 127, 53)
HSLhsl(52, 45%, 37%)
HSVhsv(52, 62%, 54%)
CMYKcmyk(0%, 8%, 61.6%, 45.9%)
CIE-LABlab(52.77, -5.56, 40.80)
CIE-LCHlch(52.77, 41.17, 97.76°)
OKLaboklab(59.1% -0.0181 0.094)
OKLCHoklch(59.1% 0.096 100.9)
XYZxyz(18.7139, 20.8398, 6.4042)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7F35 #35408A
analogous
#8A5435 #8A7F35 #6B8A35
triadic
#8A7F35 #358A7F #7F358A
tetradic
#8A7F35 #358A54 #35408A #8A356B
square
#8A7F35 #358A54 #35408A #8A356B
split-complementary
#8A7F35 #356B8A #54358A
monochromatic
#322E13 #5E5624 #8A7F35 #B6A846 #C8BD71

Accessibility & contrast

On white

4.06
#8A7F35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#8A7F35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7F35
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7F35#FFFFFF#000000##000000
##8A7F351.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B2D
Deuteranopia (green-blind)
#8D8039
Tritanopia (blue-blind)
#94776F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a7f35;
/* rgb */ color: rgb(138, 127, 53);
/* oklch */ color: oklch(59.1% 0.096 100.9);
Tailwind
colors: {
  custom: {
    50: '#aea36f',
    500: '#8a7f35',
    950: '#000000',
  },
}
SCSS
$custom: #8a7f35;
$custom-light: #aea36f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7f35",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 53
  },
  "hsl": {
    "h": 52.235,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59097,
    "c": 0.09568,
    "h": 100.9
  },
  "luminance": 0.20839
}

Semantic roles & 50–950 ramp

primary
#8A7F35
secondary
#6A73B1
accent
#64D454
background
#FBFAF6
surface
#F6F3EC
border
#D0CDC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A7F35

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

Preview Lab → · Contrast checker → · Palette generator →

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