#8A751C#8A751C

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

Color values

HEX#8A751C
RGBrgb(138, 117, 28)
HSLhsl(49, 66%, 33%)
HSVhsv(49, 80%, 54%)
CMYKcmyk(0%, 15.2%, 79.7%, 45.9%)
CIE-LABlab(49.75, -1.40, 48.49)
CIE-LCHlch(49.75, 48.51, 91.66°)
OKLaboklab(56.64% -0.0092 0.1057)
OKLCHoklch(56.64% 0.106 95)
XYZxyz(17.0531, 18.2107, 3.7152)
Luminance0.1821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A751C #1C318A
analogous
#8A3E1C #8A751C #688A1C
triadic
#8A751C #1C8A75 #751C8A
tetradic
#8A751C #1C8A3E #1C318A #8A1C68
square
#8A751C #1C8A3E #1C318A #8A1C68
split-complementary
#8A751C #1C688A #3E1C8A
monochromatic
#241F07 #574A12 #8A751C #BDA026 #DABE47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A751C#FFFFFF#000000##000000
##8A751C1.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)
#827309
Deuteranopia (green-blind)
#877922
Tritanopia (blue-blind)
#966B64
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a751c;
/* rgb */ color: rgb(138, 117, 28);
/* oklch */ color: oklch(56.6% 0.106 95.0);
Tailwind
colors: {
  custom: {
    50: '#b09c60',
    500: '#8a751c',
    950: '#000000',
  },
}
SCSS
$custom: #8a751c;
$custom-light: #b09c60;
$custom-dark: #000000;
JSON
{
  "hex": "#8a751c",
  "rgb": {
    "r": 138,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 48.545,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56639,
    "c": 0.10614,
    "h": 95
  },
  "luminance": 0.1821
}

Semantic roles & 50–950 ramp

primary
#8A751C
secondary
#465DBB
accent
#5FE93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8A751C

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

Preview Lab → · Contrast checker → · Palette generator →

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