#8A7D37#8A7D37

#8A7D37 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.7% C 0.092 H 98.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8A7D37
RGBrgb(138, 125, 55)
HSLhsl(51, 43%, 38%)
HSVhsv(51, 60%, 54%)
CMYKcmyk(0%, 9.4%, 60.1%, 45.9%)
CIE-LABlab(52.23, -4.29, 39.20)
CIE-LCHlch(52.23, 39.44, 96.25°)
OKLaboklab(58.67% -0.0142 0.0908)
OKLCHoklch(58.67% 0.092 98.9)
XYZxyz(18.5051, 20.3471, 6.5663)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7D37 #37448A
analogous
#8A5337 #8A7D37 #6E8A37
triadic
#8A7D37 #378A7D #7D378A
tetradic
#8A7D37 #378A53 #37448A #8A376E
square
#8A7D37 #378A53 #37448A #8A376E
split-complementary
#8A7D37 #376E8A #53378A
monochromatic
#322E14 #5E5526 #8A7D37 #B6A548 #C8BA74

Accessibility & contrast

On white

4.14
#8A7D37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#8A7D37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7D37
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7D37#FFFFFF#000000##000000
##8A7D371.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887A30
Deuteranopia (green-blind)
#8C7F3A
Tritanopia (blue-blind)
#94756E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a7d37;
/* rgb */ color: rgb(138, 125, 55);
/* oklch */ color: oklch(58.7% 0.092 98.9);
Tailwind
colors: {
  custom: {
    50: '#aea270',
    500: '#8a7d37',
    950: '#000000',
  },
}
SCSS
$custom: #8a7d37;
$custom-light: #aea270;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7d37",
  "rgb": {
    "r": 138,
    "g": 125,
    "b": 55
  },
  "hsl": {
    "h": 50.602,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58671,
    "c": 0.09192,
    "h": 98.9
  },
  "luminance": 0.20346
}

Semantic roles & 50–950 ramp

primary
#8A7D37
secondary
#6D77B0
accent
#69D355
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110F08
muted
#807E7B

Preview Lab

Preview with #8A7D37

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

Preview Lab → · Contrast checker → · Palette generator →

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