#8A7F4E#8A7F4E

#8A7F4E is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.5% C 0.069 H 97.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8A7F4E
RGBrgb(138, 127, 78)
HSLhsl(49, 28%, 42%)
HSVhsv(49, 43%, 54%)
CMYKcmyk(0%, 8%, 43.5%, 45.9%)
CIE-LABlab(53.09, -3.20, 28.11)
CIE-LCHlch(53.09, 28.30, 96.49°)
OKLaboklab(59.46% -0.0085 0.0685)
OKLCHoklch(59.46% 0.069 97.1)
XYZxyz(19.4462, 21.1327, 10.2609)
Luminance0.2113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7F4E #4E598A
analogous
#8A614E #8A7F4E #778A4E
triadic
#8A7F4E #4E8A7F #7F4E8A
tetradic
#8A7F4E #4E8A61 #4E598A #8A4E77
square
#8A7F4E #4E8A61 #4E598A #8A4E77
split-complementary
#8A7F4E #4E778A #614E8A
monochromatic
#3C3722 #635B38 #8A7F4E #AB9F6A #C1B891

Accessibility & contrast

On white

4.02
#8A7F4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8A7F4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7F4E
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7F4E#FFFFFF#000000##000000
##8A7F4E1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887D4A
Deuteranopia (green-blind)
#8B8050
Tritanopia (blue-blind)
#927873
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a7f4e;
/* rgb */ color: rgb(138, 127, 78);
/* oklch */ color: oklch(59.5% 0.069 97.1);
Tailwind
colors: {
  custom: {
    50: '#ada480',
    500: '#8a7f4e',
    950: '#000000',
  },
}
SCSS
$custom: #8a7f4e;
$custom-light: #ada480;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7f4e",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 78
  },
  "hsl": {
    "h": 49,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.59455,
    "c": 0.069,
    "h": 97.1
  },
  "luminance": 0.21132
}

Semantic roles & 50–950 ramp

primary
#8A7F4E
secondary
#868DAE
accent
#75C464
background
#FAFAF7
surface
#F4F3EE
border
#CECDC9
text
#100F0A
muted
#7F7F7C

Preview Lab

Preview with #8A7F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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