#8A7F33#8A7F33

#8A7F33 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.1% C 0.097 H 101.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8A7F33
RGBrgb(138, 127, 51)
HSLhsl(52, 46%, 37%)
HSVhsv(52, 63%, 54%)
CMYKcmyk(0%, 8%, 63%, 45.9%)
CIE-LABlab(52.75, -5.71, 41.73)
CIE-LCHlch(52.75, 42.12, 97.79°)
OKLaboklab(59.08% -0.0188 0.0957)
OKLCHoklch(59.08% 0.097 101.1)
XYZxyz(18.6689, 20.8218, 6.1670)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7F33 #333E8A
analogous
#8A5433 #8A7F33 #6A8A33
triadic
#8A7F33 #338A7F #7F338A
tetradic
#8A7F33 #338A54 #333E8A #8A336A
square
#8A7F33 #338A54 #333E8A #8A336A
split-complementary
#8A7F33 #336A8A #54338A
monochromatic
#312D12 #5D5622 #8A7F33 #B7A844 #C9BE6E

Accessibility & contrast

On white

4.07
#8A7F33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#8A7F33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7F33
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7F33#FFFFFF#000000##000000
##8A7F331.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B2A
Deuteranopia (green-blind)
#8E8037
Tritanopia (blue-blind)
#94766F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a7f33;
/* rgb */ color: rgb(138, 127, 51);
/* oklch */ color: oklch(59.1% 0.097 101.1);
Tailwind
colors: {
  custom: {
    50: '#afa36e',
    500: '#8a7f33',
    950: '#000000',
  },
}
SCSS
$custom: #8a7f33;
$custom-light: #afa36e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7f33",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 51
  },
  "hsl": {
    "h": 52.414,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59075,
    "c": 0.09749,
    "h": 101.1
  },
  "luminance": 0.20821
}

Semantic roles & 50–950 ramp

primary
#8A7F33
secondary
#6771B1
accent
#63D652
background
#FBFAF6
surface
#F6F3EC
border
#D0CDC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A7F33

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

Preview Lab → · Contrast checker → · Palette generator →

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