#8A7C20#8A7C20

#8A7C20 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.2% C 0.109 H 100.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8A7C20
RGBrgb(138, 124, 32)
HSLhsl(52, 62%, 33%)
HSVhsv(52, 77%, 54%)
CMYKcmyk(0%, 10.1%, 76.8%, 45.9%)
CIE-LABlab(51.75, -5.16, 48.88)
CIE-LCHlch(51.75, 49.15, 96.03°)
OKLaboklab(58.23% -0.0194 0.1074)
OKLCHoklch(58.23% 0.109 100.3)
XYZxyz(17.9505, 19.9237, 4.2664)
Luminance0.1992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7C20 #202E8A
analogous
#8A4720 #8A7C20 #638A20
triadic
#8A7C20 #208A7C #7C208A
tetradic
#8A7C20 #208A47 #202E8A #8A2063
square
#8A7C20 #208A47 #202E8A #8A2063
split-complementary
#8A7C20 #20638A #47208A
monochromatic
#272309 #584F14 #8A7C20 #BCA92C #D6C44E

Accessibility & contrast

On white

4.21
#8A7C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#8A7C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7C20
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7C20#FFFFFF#000000##000000
##8A7C201.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780E
Deuteranopia (green-blind)
#8C7E26
Tritanopia (blue-blind)
#95726A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a7c20;
/* rgb */ color: rgb(138, 124, 32);
/* oklch */ color: oklch(58.2% 0.109 100.3);
Tailwind
colors: {
  custom: {
    50: '#b0a163',
    500: '#8a7c20',
    950: '#000000',
  },
}
SCSS
$custom: #8a7c20;
$custom-light: #b0a163;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7c20",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 52.075,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58231,
    "c": 0.10915,
    "h": 100.3
  },
  "luminance": 0.19923
}

Semantic roles & 50–950 ramp

primary
#8A7C20
secondary
#4D5BB9
accent
#58E542
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7C20

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

Preview Lab → · Contrast checker → · Palette generator →

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