#8A7825#8A7825

#8A7825 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.4% C 0.103 H 96.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8A7825
RGBrgb(138, 120, 37)
HSLhsl(49, 58%, 34%)
HSVhsv(49, 73%, 54%)
CMYKcmyk(0%, 13%, 73.2%, 45.9%)
CIE-LABlab(50.65, -2.67, 45.83)
CIE-LCHlch(50.65, 45.91, 93.34°)
OKLaboklab(57.37% -0.0118 0.1019)
OKLCHoklch(57.37% 0.103 96.6)
XYZxyz(17.5325, 18.9707, 4.4881)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7825 #25378A
analogous
#8A4625 #8A7825 #6A8A25
triadic
#8A7825 #258A78 #78258A
tetradic
#8A7825 #258A46 #25378A #8A256A
square
#8A7825 #258A46 #25378A #8A256A
split-complementary
#8A7825 #256A8A #46258A
monochromatic
#29240B #5A4E18 #8A7825 #BAA232 #D2BC57

Accessibility & contrast

On white

4.38
#8A7825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8A7825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7825
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7825#FFFFFF#000000##000000
##8A78251.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#847519
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#956F67
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a7825;
/* rgb */ color: rgb(138, 120, 37);
/* oklch */ color: oklch(57.4% 0.103 96.6);
Tailwind
colors: {
  custom: {
    50: '#af9e65',
    500: '#8a7825',
    950: '#000000',
  },
}
SCSS
$custom: #8a7825;
$custom-light: #af9e65;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7825",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 37
  },
  "hsl": {
    "h": 49.307,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57372,
    "c": 0.10262,
    "h": 96.6
  },
  "luminance": 0.1897
}

Semantic roles & 50–950 ramp

primary
#8A7825
secondary
#5466B7
accent
#62E147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7825

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

Preview Lab → · Contrast checker → · Palette generator →

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