#8A8935#8A8935

#8A8935 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.4% C 0.106 H 108.5°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8A8935
RGBrgb(138, 137, 53)
HSLhsl(59, 45%, 37%)
HSVhsv(59, 62%, 54%)
CMYKcmyk(0%, 0.7%, 61.6%, 45.9%)
CIE-LABlab(55.64, -11.04, 43.94)
CIE-LCHlch(55.64, 45.31, 104.10°)
OKLaboklab(61.38% -0.0337 0.1007)
OKLCHoklch(61.38% 0.106 108.5)
XYZxyz(20.0701, 23.5522, 6.8563)
Luminance0.2355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8935 #35368A
analogous
#8A5E35 #8A8935 #618A35
triadic
#8A8935 #358A89 #89358A
tetradic
#8A8935 #358A5E #35368A #8A3561
square
#8A8935 #358A5E #35368A #8A3561
split-complementary
#8A8935 #35618A #5E358A
monochromatic
#323113 #5E5D24 #8A8935 #B6B546 #C8C771

Accessibility & contrast

On white

3.68
#8A8935 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#8A8935 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8935
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8935#FFFFFF#000000##000000
##8A89351.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94842B
Deuteranopia (green-blind)
#95873A
Tritanopia (blue-blind)
#938177
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a8935;
/* rgb */ color: rgb(138, 137, 53);
/* oklch */ color: oklch(61.4% 0.106 108.5);
Tailwind
colors: {
  custom: {
    50: '#aeab70',
    500: '#8a8935',
    950: '#000000',
  },
}
SCSS
$custom: #8a8935;
$custom-light: #aeab70;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8935",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 53
  },
  "hsl": {
    "h": 59.294,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61375,
    "c": 0.10614,
    "h": 108.5
  },
  "luminance": 0.23552
}

Semantic roles & 50–950 ramp

primary
#8A8935
secondary
#6A6BB1
accent
#55D454
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A8935

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

Preview Lab → · Contrast checker → · Palette generator →

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