#8A7925#8A7925

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

Color values

HEX#8A7925
RGBrgb(138, 121, 37)
HSLhsl(50, 58%, 34%)
HSVhsv(50, 73%, 54%)
CMYKcmyk(0%, 12.3%, 73.2%, 45.9%)
CIE-LABlab(50.93, -3.24, 46.11)
CIE-LCHlch(50.93, 46.23, 94.01°)
OKLaboklab(57.6% -0.0134 0.1025)
OKLCHoklch(57.6% 0.103 97.5)
XYZxyz(17.6534, 19.2125, 4.5284)
Luminance0.1921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7925 #25368A
analogous
#8A4725 #8A7925 #698A25
triadic
#8A7925 #258A79 #79258A
tetradic
#8A7925 #258A47 #25368A #8A2569
square
#8A7925 #258A47 #25368A #8A2569
split-complementary
#8A7925 #25698A #47258A
monochromatic
#29240B #5A4F18 #8A7925 #BAA332 #D2BD57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7925#FFFFFF#000000##000000
##8A79251.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)
#857618
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#957068
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a7925;
/* rgb */ color: rgb(138, 121, 37);
/* oklch */ color: oklch(57.6% 0.103 97.5);
Tailwind
colors: {
  custom: {
    50: '#af9f65',
    500: '#8a7925',
    950: '#000000',
  },
}
SCSS
$custom: #8a7925;
$custom-light: #af9f65;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7925",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 37
  },
  "hsl": {
    "h": 49.901,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57595,
    "c": 0.10341,
    "h": 97.5
  },
  "luminance": 0.19212
}

Semantic roles & 50–950 ramp

primary
#8A7925
secondary
#5465B7
accent
#61E147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7925

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

Preview Lab → · Contrast checker → · Palette generator →

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