#8A7920#8A7920

#8A7920 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.6% C 0.107 H 97.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8A7920
RGBrgb(138, 121, 32)
HSLhsl(50, 62%, 33%)
HSVhsv(50, 77%, 54%)
CMYKcmyk(0%, 12.3%, 76.8%, 45.9%)
CIE-LABlab(50.90, -3.48, 48.08)
CIE-LCHlch(50.90, 48.20, 94.14°)
OKLaboklab(57.56% -0.0147 0.1057)
OKLCHoklch(57.56% 0.107 97.9)
XYZxyz(17.5802, 19.1832, 4.1430)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7920 #20318A
analogous
#8A4420 #8A7920 #668A20
triadic
#8A7920 #208A79 #79208A
tetradic
#8A7920 #208A44 #20318A #8A2066
square
#8A7920 #208A44 #20318A #8A2066
split-complementary
#8A7920 #20668A #44208A
monochromatic
#272209 #584D14 #8A7920 #BCA52C #D6C04E

Accessibility & contrast

On white

4.34
#8A7920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8A7920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7920
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7920#FFFFFF#000000##000000
##8A79201.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#867610
Deuteranopia (green-blind)
#8A7C26
Tritanopia (blue-blind)
#956F68
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a7920;
/* rgb */ color: rgb(138, 121, 32);
/* oklch */ color: oklch(57.6% 0.107 97.9);
Tailwind
colors: {
  custom: {
    50: '#b09f63',
    500: '#8a7920',
    950: '#000000',
  },
}
SCSS
$custom: #8a7920;
$custom-light: #b09f63;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7920",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 32
  },
  "hsl": {
    "h": 50.377,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57557,
    "c": 0.10672,
    "h": 97.9
  },
  "luminance": 0.19182
}

Semantic roles & 50–950 ramp

primary
#8A7920
secondary
#4D5EB9
accent
#5DE542
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8A7920

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

Preview Lab → · Contrast checker → · Palette generator →

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