#8A751F#8A751F

#8A751F is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.7% C 0.104 H 94.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8A751F
RGBrgb(138, 117, 31)
HSLhsl(48, 63%, 33%)
HSVhsv(48, 78%, 54%)
CMYKcmyk(0%, 15.2%, 77.5%, 45.9%)
CIE-LABlab(49.77, -1.27, 47.39)
CIE-LCHlch(49.77, 47.41, 91.54°)
OKLaboklab(56.66% -0.0085 0.104)
OKLCHoklch(56.66% 0.104 94.7)
XYZxyz(17.0908, 18.2258, 3.9138)
Luminance0.1822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A751F #1F348A
analogous
#8A3F1F #8A751F #698A1F
triadic
#8A751F #1F8A75 #751F8A
tetradic
#8A751F #1F8A3F #1F348A #8A1F69
square
#8A751F #1F8A3F #1F348A #8A1F69
split-complementary
#8A751F #1F698A #3F1F8A
monochromatic
#262009 #584B14 #8A751F #BC9F2A #D7BC4C

Accessibility & contrast

On white

4.52
#8A751F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8A751F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A751F
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A751F#FFFFFF#000000##000000
##8A751F1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#82730F
Deuteranopia (green-blind)
#877924
Tritanopia (blue-blind)
#966B64
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a751f;
/* rgb */ color: rgb(138, 117, 31);
/* oklch */ color: oklch(56.7% 0.104 94.7);
Tailwind
colors: {
  custom: {
    50: '#b09c62',
    500: '#8a751f',
    950: '#000000',
  },
}
SCSS
$custom: #8a751f;
$custom-light: #b09c62;
$custom-dark: #000000;
JSON
{
  "hex": "#8a751f",
  "rgb": {
    "r": 138,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 48.224,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56659,
    "c": 0.10437,
    "h": 94.7
  },
  "luminance": 0.18225
}

Semantic roles & 50–950 ramp

primary
#8A751F
secondary
#4B61BA
accent
#62E641
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8A751F

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

Preview Lab → · Contrast checker → · Palette generator →

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