#8A7922#8A7922

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

Color values

HEX#8A7922
RGBrgb(138, 121, 34)
HSLhsl(50, 60%, 34%)
HSVhsv(50, 75%, 54%)
CMYKcmyk(0%, 12.3%, 75.4%, 45.9%)
CIE-LABlab(50.91, -3.39, 47.31)
CIE-LCHlch(50.91, 47.43, 94.10°)
OKLaboklab(57.57% -0.0142 0.1045)
OKLCHoklch(57.57% 0.105 97.7)
XYZxyz(17.6082, 19.1944, 4.2905)
Luminance0.1919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7922 #22338A
analogous
#8A4522 #8A7922 #678A22
triadic
#8A7922 #228A79 #79228A
tetradic
#8A7922 #228A45 #22338A #8A2267
square
#8A7922 #228A45 #22338A #8A2267
split-complementary
#8A7922 #22678A #45228A
monochromatic
#28230A #594E16 #8A7922 #BBA42E #D4BF52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7922#FFFFFF#000000##000000
##8A79221.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)
#867613
Deuteranopia (green-blind)
#8A7C27
Tritanopia (blue-blind)
#956F68
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a7922;
/* rgb */ color: rgb(138, 121, 34);
/* oklch */ color: oklch(57.6% 0.105 97.7);
Tailwind
colors: {
  custom: {
    50: '#b09f64',
    500: '#8a7922',
    950: '#000000',
  },
}
SCSS
$custom: #8a7922;
$custom-light: #b09f64;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7922",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 50.192,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57572,
    "c": 0.10544,
    "h": 97.7
  },
  "luminance": 0.19194
}

Semantic roles & 50–950 ramp

primary
#8A7922
secondary
#5061B8
accent
#5EE444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7922

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

Preview Lab → · Contrast checker → · Palette generator →

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