#8A8635#8A8635

#8A8635 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.7% C 0.103 H 106.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8A8635
RGBrgb(138, 134, 53)
HSLhsl(57, 45%, 37%)
HSVhsv(57, 62%, 54%)
CMYKcmyk(0%, 2.9%, 61.6%, 45.9%)
CIE-LABlab(54.77, -9.41, 43.00)
CIE-LCHlch(54.77, 44.02, 102.34°)
OKLaboklab(60.69% -0.0291 0.0987)
OKLCHoklch(60.69% 0.103 106.4)
XYZxyz(19.6496, 22.7111, 6.7161)
Luminance0.2271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8635 #35398A
analogous
#8A5B35 #8A8635 #648A35
triadic
#8A8635 #358A86 #86358A
tetradic
#8A8635 #358A5B #35398A #8A3564
square
#8A8635 #358A5B #35398A #8A3564
split-complementary
#8A8635 #35648A #5B358A
monochromatic
#323013 #5E5B24 #8A8635 #B6B146 #C8C471

Accessibility & contrast

On white

3.79
#8A8635 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#8A8635 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8635
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8635#FFFFFF#000000##000000
##8A86351.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812C
Deuteranopia (green-blind)
#93853A
Tritanopia (blue-blind)
#947E75
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a8635;
/* rgb */ color: rgb(138, 134, 53);
/* oklch */ color: oklch(60.7% 0.103 106.4);
Tailwind
colors: {
  custom: {
    50: '#aea970',
    500: '#8a8635',
    950: '#000000',
  },
}
SCSS
$custom: #8a8635;
$custom-light: #aea970;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8635",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 53
  },
  "hsl": {
    "h": 57.176,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60687,
    "c": 0.10285,
    "h": 106.4
  },
  "luminance": 0.22711
}

Semantic roles & 50–950 ramp

primary
#8A8635
secondary
#6A6DB1
accent
#5AD454
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8A8635

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

Preview Lab → · Contrast checker → · Palette generator →

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