#8A7722#8A7722

#8A7722 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.1% C 0.104 H 96.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8A7722
RGBrgb(138, 119, 34)
HSLhsl(49, 60%, 34%)
HSVhsv(49, 75%, 54%)
CMYKcmyk(0%, 13.8%, 75.4%, 45.9%)
CIE-LABlab(50.35, -2.26, 46.77)
CIE-LCHlch(50.35, 46.82, 92.77°)
OKLaboklab(57.13% -0.011 0.1033)
OKLCHoklch(57.13% 0.104 96.1)
XYZxyz(17.3677, 18.7133, 4.2103)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7722 #22358A
analogous
#8A4322 #8A7722 #698A22
triadic
#8A7722 #228A77 #77228A
tetradic
#8A7722 #228A43 #22358A #8A2269
square
#8A7722 #228A43 #22358A #8A2269
split-complementary
#8A7722 #22698A #43228A
monochromatic
#28220A #594D16 #8A7722 #BBA12E #D4BD52

Accessibility & contrast

On white

4.43
#8A7722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8A7722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7722
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7722#FFFFFF#000000##000000
##8A77221.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#847414
Deuteranopia (green-blind)
#897A27
Tritanopia (blue-blind)
#956D66
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a7722;
/* rgb */ color: rgb(138, 119, 34);
/* oklch */ color: oklch(57.1% 0.104 96.1);
Tailwind
colors: {
  custom: {
    50: '#b09d63',
    500: '#8a7722',
    950: '#000000',
  },
}
SCSS
$custom: #8a7722;
$custom-light: #b09d63;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7722",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 34
  },
  "hsl": {
    "h": 49.038,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57125,
    "c": 0.1039,
    "h": 96.1
  },
  "luminance": 0.18712
}

Semantic roles & 50–950 ramp

primary
#8A7722
secondary
#5063B8
accent
#61E444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7722

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

Preview Lab → · Contrast checker → · Palette generator →

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