#8A7E45#8A7E45

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

Color values

HEX#8A7E45
RGBrgb(138, 126, 69)
HSLhsl(50, 33%, 41%)
HSVhsv(50, 50%, 54%)
CMYKcmyk(0%, 8.7%, 50%, 45.9%)
CIE-LABlab(52.68, -3.60, 32.49)
CIE-LCHlch(52.68, 32.69, 96.32°)
OKLaboklab(59.09% -0.0105 0.0777)
OKLCHoklch(59.09% 0.078 97.7)
XYZxyz(19.0168, 20.7554, 8.6335)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7E45 #45518A
analogous
#8A5B45 #8A7E45 #738A45
triadic
#8A7E45 #458A7E #7E458A
tetradic
#8A7E45 #458A5B #45518A #8A4573
square
#8A7E45 #458A5B #45518A #8A4573
split-complementary
#8A7E45 #45738A #5B458A
monochromatic
#38331C #615931 #8A7E45 #AEA05E #C3B887

Accessibility & contrast

On white

4.08
#8A7E45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8A7E45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7E45
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7E45#FFFFFF#000000##000000
##8A7E451.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B40
Deuteranopia (green-blind)
#8B8047
Tritanopia (blue-blind)
#937770
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a7e45;
/* rgb */ color: rgb(138, 126, 69);
/* oklch */ color: oklch(59.1% 0.078 97.7);
Tailwind
colors: {
  custom: {
    50: '#aea37a',
    500: '#8a7e45',
    950: '#000000',
  },
}
SCSS
$custom: #8a7e45;
$custom-light: #aea37a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7e45",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 69
  },
  "hsl": {
    "h": 49.565,
    "s": 33.333,
    "l": 40.588
  },
  "oklch": {
    "l": 0.59085,
    "c": 0.07839,
    "h": 97.7
  },
  "luminance": 0.20755
}

Semantic roles & 50–950 ramp

primary
#8A7E45
secondary
#7D85AE
accent
#71C95E
background
#FAFAF7
surface
#F4F3ED
border
#CECDC8
text
#100F09
muted
#7F7F7B

Preview Lab

Preview with #8A7E45

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

Preview Lab → · Contrast checker → · Palette generator →

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