#8A7225#8A7225

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

Color values

HEX#8A7225
RGBrgb(138, 114, 37)
HSLhsl(46, 58%, 34%)
HSVhsv(46, 73%, 54%)
CMYKcmyk(0%, 17.4%, 73.2%, 45.9%)
CIE-LABlab(48.97, 0.73, 44.15)
CIE-LCHlch(48.97, 44.16, 89.05°)
OKLaboklab(56.04% -0.0021 0.0984)
OKLCHoklch(56.04% 0.098 91.2)
XYZxyz(16.8334, 17.5725, 4.2551)
Luminance0.1757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7225 #253D8A
analogous
#8A4025 #8A7225 #708A25
triadic
#8A7225 #258A72 #72258A
tetradic
#8A7225 #258A40 #253D8A #8A2570
square
#8A7225 #258A40 #253D8A #8A2570
split-complementary
#8A7225 #25708A #40258A
monochromatic
#29220B #5A4A18 #8A7225 #BA9A32 #D2B557

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7225#FFFFFF#000000##FFFFFF
##8A72251.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)
#7F701A
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#966862
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a7225;
/* rgb */ color: rgb(138, 114, 37);
/* oklch */ color: oklch(56.0% 0.098 91.2);
Tailwind
colors: {
  custom: {
    50: '#b09a64',
    500: '#8a7225',
    950: '#000000',
  },
}
SCSS
$custom: #8a7225;
$custom-light: #b09a64;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7225",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 37
  },
  "hsl": {
    "h": 45.743,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56044,
    "c": 0.09841,
    "h": 91.2
  },
  "luminance": 0.17571
}

Semantic roles & 50–950 ramp

primary
#8A7225
secondary
#546CB7
accent
#6BE147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7225

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

Preview Lab → · Contrast checker → · Palette generator →

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