#8A762C#8A762C

#8A762C is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 57.0% C 0.096 H 93.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8A762C
RGBrgb(138, 118, 44)
HSLhsl(47, 52%, 36%)
HSVhsv(47, 68%, 54%)
CMYKcmyk(0%, 14.5%, 68.1%, 45.9%)
CIE-LABlab(50.15, -1.13, 42.22)
CIE-LCHlch(50.15, 42.23, 91.54°)
OKLaboklab(56.99% -0.0066 0.0956)
OKLCHoklch(56.99% 0.096 93.9)
XYZxyz(17.4151, 18.5429, 5.0442)
Luminance0.1854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A762C #2C408A
analogous
#8A472C #8A762C #6F8A2C
triadic
#8A762C #2C8A76 #762C8A
tetradic
#8A762C #2C8A47 #2C408A #8A2C6F
square
#8A762C #2C8A47 #2C408A #8A2C6F
split-complementary
#8A762C #2C6F8A #472C8A
monochromatic
#2D270E #5C4E1D #8A762C #B89E3B #CDB763

Accessibility & contrast

On white

4.46
#8A762C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8A762C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A762C
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A762C#FFFFFF#000000##000000
##8A762C1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#827423
Deuteranopia (green-blind)
#877A30
Tritanopia (blue-blind)
#956D66
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a762c;
/* rgb */ color: rgb(138, 118, 44);
/* oklch */ color: oklch(57.0% 0.096 93.9);
Tailwind
colors: {
  custom: {
    50: '#af9d69',
    500: '#8a762c',
    950: '#000000',
  },
}
SCSS
$custom: #8a762c;
$custom-light: #af9d69;
$custom-dark: #000000;
JSON
{
  "hex": "#8a762c",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 44
  },
  "hsl": {
    "h": 47.234,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56991,
    "c": 0.0958,
    "h": 93.9
  },
  "luminance": 0.18542
}

Semantic roles & 50–950 ramp

primary
#8A762C
secondary
#5E70B4
accent
#6BDB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A762C

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

Preview Lab → · Contrast checker → · Palette generator →

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