#8A762A#8A762A

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

Color values

HEX#8A762A
RGBrgb(138, 118, 42)
HSLhsl(48, 53%, 35%)
HSVhsv(48, 70%, 54%)
CMYKcmyk(0%, 14.5%, 69.6%, 45.9%)
CIE-LABlab(50.13, -1.26, 43.12)
CIE-LCHlch(50.13, 43.14, 91.67°)
OKLaboklab(56.97% -0.0072 0.0971)
OKLCHoklch(56.97% 0.097 94.2)
XYZxyz(17.3784, 18.5282, 4.8510)
Luminance0.1853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A762A #2A3E8A
analogous
#8A462A #8A762A #6E8A2A
triadic
#8A762A #2A8A76 #762A8A
tetradic
#8A762A #2A8A46 #2A3E8A #8A2A6E
square
#8A762A #2A8A46 #2A3E8A #8A2A6E
split-complementary
#8A762A #2A6E8A #462A8A
monochromatic
#2C260D #5B4E1C #8A762A #B99E38 #CFB760

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A762A#FFFFFF#000000##000000
##8A762A1.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)
#827420
Deuteranopia (green-blind)
#877A2E
Tritanopia (blue-blind)
#956D66
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a762a;
/* rgb */ color: rgb(138, 118, 42);
/* oklch */ color: oklch(57.0% 0.097 94.2);
Tailwind
colors: {
  custom: {
    50: '#af9d68',
    500: '#8a762a',
    950: '#000000',
  },
}
SCSS
$custom: #8a762a;
$custom-light: #af9d68;
$custom-dark: #000000;
JSON
{
  "hex": "#8a762a",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 42
  },
  "hsl": {
    "h": 47.5,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56971,
    "c": 0.09739,
    "h": 94.2
  },
  "luminance": 0.18527
}

Semantic roles & 50–950 ramp

primary
#8A762A
secondary
#5B6EB4
accent
#69DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A762A

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

Preview Lab → · Contrast checker → · Palette generator →

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