#8A762B#8A762B

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

Color values

HEX#8A762B
RGBrgb(138, 118, 43)
HSLhsl(47, 52%, 35%)
HSVhsv(47, 69%, 54%)
CMYKcmyk(0%, 14.5%, 68.8%, 45.9%)
CIE-LABlab(50.14, -1.20, 42.67)
CIE-LCHlch(50.14, 42.69, 91.61°)
OKLaboklab(56.98% -0.0069 0.0964)
OKLCHoklch(56.98% 0.097 94.1)
XYZxyz(17.3966, 18.5355, 4.9464)
Luminance0.1853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A762B #2B3F8A
analogous
#8A462B #8A762B #6E8A2B
triadic
#8A762B #2B8A76 #762B8A
tetradic
#8A762B #2B8A46 #2B3F8A #8A2B6E
square
#8A762B #2B8A46 #2B3F8A #8A2B6E
split-complementary
#8A762B #2B6E8A #462B8A
monochromatic
#2D260E #5B4E1C #8A762B #B99E3A #CEB761

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A762B#FFFFFF#000000##000000
##8A762B1.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)
#827422
Deuteranopia (green-blind)
#877A2F
Tritanopia (blue-blind)
#956D66
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a762b;
/* rgb */ color: rgb(138, 118, 43);
/* oklch */ color: oklch(57.0% 0.097 94.1);
Tailwind
colors: {
  custom: {
    50: '#af9d68',
    500: '#8a762b',
    950: '#000000',
  },
}
SCSS
$custom: #8a762b;
$custom-light: #af9d68;
$custom-dark: #000000;
JSON
{
  "hex": "#8a762b",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 43
  },
  "hsl": {
    "h": 47.368,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56981,
    "c": 0.0966,
    "h": 94.1
  },
  "luminance": 0.18535
}

Semantic roles & 50–950 ramp

primary
#8A762B
secondary
#5D6FB4
accent
#6ADC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A762B

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

Preview Lab → · Contrast checker → · Palette generator →

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