#8A8D35#8A8D35

#8A8D35 is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.3% C 0.111 H 111.1°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8A8D35
RGBrgb(138, 141, 53)
HSLhsl(62, 45%, 38%)
HSVhsv(62, 62%, 55%)
CMYKcmyk(2.1%, 0%, 62.4%, 44.7%)
CIE-LABlab(56.79, -13.18, 45.20)
CIE-LCHlch(56.79, 47.08, 106.26°)
OKLaboklab(62.3% -0.0398 0.1033)
OKLCHoklch(62.3% 0.111 111.1)
XYZxyz(20.6493, 24.7106, 7.0493)
Luminance0.2471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D35 #38358D
analogous
#8D6435 #8A8D35 #5E8D35
triadic
#8A8D35 #358A8D #8D358A
tetradic
#8A8D35 #358D64 #38358D #8D355E
square
#8A8D35 #358D64 #38358D #8D355E
split-complementary
#8A8D35 #355E8D #64358D
monochromatic
#333414 #5E6124 #8A8D35 #B5B946 #C7CA72

Accessibility & contrast

On white

3.53
#8A8D35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#8A8D35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D35
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D35#FFFFFF#000000##000000
##8A8D351.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98872A
Deuteranopia (green-blind)
#98893A
Tritanopia (blue-blind)
#93857A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8d35;
/* rgb */ color: rgb(138, 141, 53);
/* oklch */ color: oklch(62.3% 0.111 111.1);
Tailwind
colors: {
  custom: {
    50: '#aeae70',
    500: '#8a8d35',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d35;
$custom-light: #aeae70;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d35",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 53
  },
  "hsl": {
    "h": 62.045,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62297,
    "c": 0.11069,
    "h": 111.1
  },
  "luminance": 0.2471
}

Semantic roles & 50–950 ramp

primary
#8A8D35
secondary
#6E6BB2
accent
#53D557
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A8D35

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

Preview Lab → · Contrast checker → · Palette generator →

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