#8A7E37#8A7E37

#8A7E37 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.9% C 0.093 H 99.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8A7E37
RGBrgb(138, 126, 55)
HSLhsl(51, 43%, 38%)
HSVhsv(51, 60%, 54%)
CMYKcmyk(0%, 8.7%, 60.1%, 45.9%)
CIE-LABlab(52.51, -4.85, 39.52)
CIE-LCHlch(52.51, 39.82, 96.99°)
OKLaboklab(58.9% -0.0158 0.0915)
OKLCHoklch(58.9% 0.093 99.8)
XYZxyz(18.6324, 20.6016, 6.6087)
Luminance0.2060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7E37 #37438A
analogous
#8A5437 #8A7E37 #6C8A37
triadic
#8A7E37 #378A7E #7E378A
tetradic
#8A7E37 #378A54 #37438A #8A376C
square
#8A7E37 #378A54 #37438A #8A376C
split-complementary
#8A7E37 #376C8A #54378A
monochromatic
#322E14 #5E5626 #8A7E37 #B6A648 #C8BB74

Accessibility & contrast

On white

4.10
#8A7E37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8A7E37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7E37
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7E37#FFFFFF#000000##000000
##8A7E371.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B30
Deuteranopia (green-blind)
#8C7F3A
Tritanopia (blue-blind)
#94766E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a7e37;
/* rgb */ color: rgb(138, 126, 55);
/* oklch */ color: oklch(58.9% 0.093 99.8);
Tailwind
colors: {
  custom: {
    50: '#aea370',
    500: '#8a7e37',
    950: '#000000',
  },
}
SCSS
$custom: #8a7e37;
$custom-light: #aea370;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7e37",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 55
  },
  "hsl": {
    "h": 51.325,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58895,
    "c": 0.09286,
    "h": 99.8
  },
  "luminance": 0.20601
}

Semantic roles & 50–950 ramp

primary
#8A7E37
secondary
#6D76B0
accent
#67D355
background
#FBFAF6
surface
#F6F3EC
border
#D0CDC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8A7E37

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

Preview Lab → · Contrast checker → · Palette generator →

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