#8A7F37#8A7F37

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

Color values

HEX#8A7F37
RGBrgb(138, 127, 55)
HSLhsl(52, 43%, 38%)
HSVhsv(52, 60%, 54%)
CMYKcmyk(0%, 8%, 60.1%, 45.9%)
CIE-LABlab(52.79, -5.41, 39.84)
CIE-LCHlch(52.79, 40.21, 97.73°)
OKLaboklab(59.12% -0.0174 0.0922)
OKLCHoklch(59.12% 0.094 100.7)
XYZxyz(18.7609, 20.8586, 6.6516)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7F37 #37428A
analogous
#8A5537 #8A7F37 #6B8A37
triadic
#8A7F37 #378A7F #7F378A
tetradic
#8A7F37 #378A55 #37428A #8A376B
square
#8A7F37 #378A55 #37428A #8A376B
split-complementary
#8A7F37 #376B8A #55378A
monochromatic
#322E14 #5E5726 #8A7F37 #B6A748 #C8BC74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7F37#FFFFFF#000000##000000
##8A7F371.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)
#8A7B30
Deuteranopia (green-blind)
#8D803B
Tritanopia (blue-blind)
#94776F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a7f37;
/* rgb */ color: rgb(138, 127, 55);
/* oklch */ color: oklch(59.1% 0.094 100.7);
Tailwind
colors: {
  custom: {
    50: '#aea371',
    500: '#8a7f37',
    950: '#000000',
  },
}
SCSS
$custom: #8a7f37;
$custom-light: #aea371;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7f37",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 55
  },
  "hsl": {
    "h": 52.048,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.5912,
    "c": 0.09381,
    "h": 100.7
  },
  "luminance": 0.20858
}

Semantic roles & 50–950 ramp

primary
#8A7F37
secondary
#6D75B0
accent
#66D355
background
#FBFAF6
surface
#F6F3EC
border
#D0CDC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8A7F37

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

Preview Lab → · Contrast checker → · Palette generator →

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