#8A762F#8A762F

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

Color values

HEX#8A762F
RGBrgb(138, 118, 47)
HSLhsl(47, 49%, 36%)
HSVhsv(47, 66%, 54%)
CMYKcmyk(0%, 14.5%, 65.9%, 45.9%)
CIE-LABlab(50.18, -0.94, 40.83)
CIE-LCHlch(50.18, 40.84, 91.31°)
OKLaboklab(57.02% -0.0056 0.0931)
OKLCHoklch(57.02% 0.093 93.4)
XYZxyz(17.4736, 18.5663, 5.3520)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A762F #2F438A
analogous
#8A492F #8A762F #718A2F
triadic
#8A762F #2F8A76 #762F8A
tetradic
#8A762F #2F8A49 #2F438A #8A2F71
square
#8A762F #2F8A49 #2F438A #8A2F71
split-complementary
#8A762F #2F718A #492F8A
monochromatic
#2F2810 #5C4F1F #8A762F #B89D3F #CCB668

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A762F#FFFFFF#000000##000000
##8A762F1.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)
#827427
Deuteranopia (green-blind)
#877A32
Tritanopia (blue-blind)
#956D67
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a762f;
/* rgb */ color: rgb(138, 118, 47);
/* oklch */ color: oklch(57.0% 0.093 93.4);
Tailwind
colors: {
  custom: {
    50: '#af9d6b',
    500: '#8a762f',
    950: '#000000',
  },
}
SCSS
$custom: #8a762f;
$custom-light: #af9d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a762f",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 47
  },
  "hsl": {
    "h": 46.813,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57021,
    "c": 0.09331,
    "h": 93.4
  },
  "luminance": 0.18565
}

Semantic roles & 50–950 ramp

primary
#8A762F
secondary
#6274B3
accent
#6DD94F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A762F

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

Preview Lab → · Contrast checker → · Palette generator →

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