#8A7224#8A7224

#8A7224 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 56.0% C 0.099 H 91.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8A7224
RGBrgb(138, 114, 36)
HSLhsl(46, 59%, 34%)
HSVhsv(46, 74%, 54%)
CMYKcmyk(0%, 17.4%, 73.9%, 45.9%)
CIE-LABlab(48.97, 0.68, 44.58)
CIE-LCHlch(48.97, 44.58, 89.13°)
OKLaboklab(56.04% -0.0024 0.0991)
OKLCHoklch(56.04% 0.099 91.4)
XYZxyz(16.8179, 17.5663, 4.1735)
Luminance0.1757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7224 #243C8A
analogous
#8A3F24 #8A7224 #6F8A24
triadic
#8A7224 #248A72 #72248A
tetradic
#8A7224 #248A3F #243C8A #8A246F
square
#8A7224 #248A3F #243C8A #8A246F
split-complementary
#8A7224 #246F8A #3F248A
monochromatic
#29220B #594A17 #8A7224 #BB9A31 #D3B556

Accessibility & contrast

On white

4.65
#8A7224 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8A7224 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A7224
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7224#FFFFFF#000000##FFFFFF
##8A72241.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7019
Deuteranopia (green-blind)
#857728
Tritanopia (blue-blind)
#966862
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a7224;
/* rgb */ color: rgb(138, 114, 36);
/* oklch */ color: oklch(56.0% 0.099 91.4);
Tailwind
colors: {
  custom: {
    50: '#b09a64',
    500: '#8a7224',
    950: '#000000',
  },
}
SCSS
$custom: #8a7224;
$custom-light: #b09a64;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7224",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 36
  },
  "hsl": {
    "h": 45.882,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56036,
    "c": 0.09911,
    "h": 91.4
  },
  "luminance": 0.17565
}

Semantic roles & 50–950 ramp

primary
#8A7224
secondary
#536AB7
accent
#6BE246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7224

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

Preview Lab → · Contrast checker → · Palette generator →

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