#8A761C#8A761C

#8A761C is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.9% C 0.107 H 95.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8A761C
RGBrgb(138, 118, 28)
HSLhsl(49, 66%, 33%)
HSVhsv(49, 80%, 54%)
CMYKcmyk(0%, 14.5%, 79.7%, 45.9%)
CIE-LABlab(50.03, -1.97, 48.75)
CIE-LCHlch(50.03, 48.79, 92.31°)
OKLaboklab(56.86% -0.0108 0.1063)
OKLCHoklch(56.86% 0.107 95.8)
XYZxyz(17.1702, 18.4449, 3.7542)
Luminance0.1844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A761C #1C308A
analogous
#8A3F1C #8A761C #678A1C
triadic
#8A761C #1C8A76 #761C8A
tetradic
#8A761C #1C8A3F #1C308A #8A1C67
square
#8A761C #1C8A3F #1C308A #8A1C67
split-complementary
#8A761C #1C678A #3F1C8A
monochromatic
#241F07 #574A12 #8A761C #BDA226 #DABF47

Accessibility & contrast

On white

4.48
#8A761C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8A761C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A761C
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A761C#FFFFFF#000000##000000
##8A761C1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#837308
Deuteranopia (green-blind)
#887A22
Tritanopia (blue-blind)
#966C65
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a761c;
/* rgb */ color: rgb(138, 118, 28);
/* oklch */ color: oklch(56.9% 0.107 95.8);
Tailwind
colors: {
  custom: {
    50: '#b09d60',
    500: '#8a761c',
    950: '#000000',
  },
}
SCSS
$custom: #8a761c;
$custom-light: #b09d60;
$custom-dark: #000000;
JSON
{
  "hex": "#8a761c",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 28
  },
  "hsl": {
    "h": 49.091,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56861,
    "c": 0.10684,
    "h": 95.8
  },
  "luminance": 0.18444
}

Semantic roles & 50–950 ramp

primary
#8A761C
secondary
#465CBB
accent
#5EE93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8A761C

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

Preview Lab → · Contrast checker → · Palette generator →

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