#8A8735#8A8735

#8A8735 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 60.9% C 0.104 H 107.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8A8735
RGBrgb(138, 135, 53)
HSLhsl(58, 45%, 37%)
HSVhsv(58, 62%, 54%)
CMYKcmyk(0%, 2.2%, 61.6%, 45.9%)
CIE-LABlab(55.06, -9.95, 43.32)
CIE-LCHlch(55.06, 44.44, 102.94°)
OKLaboklab(60.92% -0.0306 0.0993)
OKLCHoklch(60.92% 0.104 107.1)
XYZxyz(19.7884, 22.9889, 6.7624)
Luminance0.2299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8735 #35388A
analogous
#8A5C35 #8A8735 #638A35
triadic
#8A8735 #358A87 #87358A
tetradic
#8A8735 #358A5C #35388A #8A3563
square
#8A8735 #358A5C #35388A #8A3563
split-complementary
#8A8735 #35638A #5C358A
monochromatic
#323013 #5E5C24 #8A8735 #B6B246 #C8C571

Accessibility & contrast

On white

3.75
#8A8735 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#8A8735 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8735
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8735#FFFFFF#000000##000000
##8A87351.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92822C
Deuteranopia (green-blind)
#93853A
Tritanopia (blue-blind)
#947F76
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a8735;
/* rgb */ color: rgb(138, 135, 53);
/* oklch */ color: oklch(60.9% 0.104 107.1);
Tailwind
colors: {
  custom: {
    50: '#aea970',
    500: '#8a8735',
    950: '#000000',
  },
}
SCSS
$custom: #8a8735;
$custom-light: #aea970;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8735",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 53
  },
  "hsl": {
    "h": 57.882,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60916,
    "c": 0.10393,
    "h": 107.1
  },
  "luminance": 0.22988
}

Semantic roles & 50–950 ramp

primary
#8A8735
secondary
#6A6DB1
accent
#58D454
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8A8735

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

Preview Lab → · Contrast checker → · Palette generator →

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