#8D7A30#8D7A30

#8D7A30 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.2% C 0.096 H 94.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8D7A30
RGBrgb(141, 122, 48)
HSLhsl(48, 49%, 37%)
HSVhsv(48, 66%, 55%)
CMYKcmyk(0%, 13.5%, 66%, 44.7%)
CIE-LABlab(51.61, -1.75, 41.99)
CIE-LCHlch(51.61, 42.03, 92.39°)
OKLaboklab(58.23% -0.008 0.0957)
OKLCHoklch(58.23% 0.096 94.8)
XYZxyz(18.4784, 19.7961, 5.6435)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7A30 #30438D
analogous
#8D4C30 #8D7A30 #728D30
triadic
#8D7A30 #308D7A #7A308D
tetradic
#8D7A30 #308D4C #30438D #8D3072
square
#8D7A30 #308D4C #30438D #8D3072
split-complementary
#8D7A30 #30728D #4C308D
monochromatic
#322B11 #5F5220 #8D7A30 #BBA240 #CDB96B

Accessibility & contrast

On white

4.23
#8D7A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#8D7A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7A30
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7A30#FFFFFF#000000##000000
##8D7A301.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#867827
Deuteranopia (green-blind)
#8B7E34
Tritanopia (blue-blind)
#98716A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d7a30;
/* rgb */ color: rgb(141, 122, 48);
/* oklch */ color: oklch(58.2% 0.096 94.8);
Tailwind
colors: {
  custom: {
    50: '#b1a06c',
    500: '#8d7a30',
    950: '#000000',
  },
}
SCSS
$custom: #8d7a30;
$custom-light: #b1a06c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7a30",
  "rgb": {
    "r": 141,
    "g": 122,
    "b": 48
  },
  "hsl": {
    "h": 47.742,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58225,
    "c": 0.09601,
    "h": 94.8
  },
  "luminance": 0.19795
}

Semantic roles & 50–950 ramp

primary
#8D7A30
secondary
#6575B4
accent
#6BD94F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8D7A30

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

Preview Lab → · Contrast checker → · Palette generator →

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