#8A7E20#8A7E20

#8A7E20 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.7% C 0.111 H 101.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8A7E20
RGBrgb(138, 126, 32)
HSLhsl(53, 62%, 33%)
HSVhsv(53, 77%, 54%)
CMYKcmyk(0%, 8.7%, 76.8%, 45.9%)
CIE-LABlab(52.32, -6.27, 49.42)
CIE-LCHlch(52.32, 49.81, 97.23°)
OKLaboklab(58.68% -0.0226 0.1085)
OKLCHoklch(58.68% 0.111 101.8)
XYZxyz(18.2036, 20.4301, 4.3508)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7E20 #202C8A
analogous
#8A4920 #8A7E20 #618A20
triadic
#8A7E20 #208A7E #7E208A
tetradic
#8A7E20 #208A49 #202C8A #8A2061
square
#8A7E20 #208A49 #202C8A #8A2061
split-complementary
#8A7E20 #20618A #49208A
monochromatic
#272309 #585114 #8A7E20 #BCAB2C #D6C74E

Accessibility & contrast

On white

4.13
#8A7E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8A7E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7E20
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7E20#FFFFFF#000000##000000
##8A7E201.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0D
Deuteranopia (green-blind)
#8E7F27
Tritanopia (blue-blind)
#95756C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a7e20;
/* rgb */ color: rgb(138, 126, 32);
/* oklch */ color: oklch(58.7% 0.111 101.8);
Tailwind
colors: {
  custom: {
    50: '#b0a363',
    500: '#8a7e20',
    950: '#000000',
  },
}
SCSS
$custom: #8a7e20;
$custom-light: #b0a363;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7e20",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 32
  },
  "hsl": {
    "h": 53.208,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58683,
    "c": 0.11087,
    "h": 101.8
  },
  "luminance": 0.20429
}

Semantic roles & 50–950 ramp

primary
#8A7E20
secondary
#4D59B9
accent
#55E542
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8A7E20

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

Preview Lab → · Contrast checker → · Palette generator →

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