#8A7E30#8A7E30

#8A7E30 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.8% C 0.099 H 100.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8A7E30
RGBrgb(138, 126, 48)
HSLhsl(52, 48%, 36%)
HSVhsv(52, 65%, 54%)
CMYKcmyk(0%, 8.7%, 65.2%, 45.9%)
CIE-LABlab(52.44, -5.36, 42.81)
CIE-LCHlch(52.44, 43.14, 97.14°)
OKLaboklab(58.82% -0.0182 0.0975)
OKLCHoklch(58.82% 0.099 100.6)
XYZxyz(18.4763, 20.5392, 5.7870)
Luminance0.2054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7E30 #303C8A
analogous
#8A5130 #8A7E30 #698A30
triadic
#8A7E30 #308A7E #7E308A
tetradic
#8A7E30 #308A51 #303C8A #8A3069
square
#8A7E30 #308A51 #303C8A #8A3069
split-complementary
#8A7E30 #30698A #51308A
monochromatic
#2F2B10 #5D5520 #8A7E30 #B7A740 #CBBE69

Accessibility & contrast

On white

4.11
#8A7E30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#8A7E30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7E30
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7E30#FFFFFF#000000##000000
##8A7E301.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A27
Deuteranopia (green-blind)
#8D7F34
Tritanopia (blue-blind)
#94756E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a7e30;
/* rgb */ color: rgb(138, 126, 48);
/* oklch */ color: oklch(58.8% 0.099 100.6);
Tailwind
colors: {
  custom: {
    50: '#afa36c',
    500: '#8a7e30',
    950: '#000000',
  },
}
SCSS
$custom: #8a7e30;
$custom-light: #afa36c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7e30",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 48
  },
  "hsl": {
    "h": 52,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58818,
    "c": 0.09916,
    "h": 100.6
  },
  "luminance": 0.20538
}

Semantic roles & 50–950 ramp

primary
#8A7E30
secondary
#646EB2
accent
#62D850
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A7E30

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

Preview Lab → · Contrast checker → · Palette generator →

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