#8D8A35#8D8A35

#8D8A35 is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 61.9% C 0.107 H 107.2°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8D8A35
RGBrgb(141, 138, 53)
HSLhsl(58, 45%, 38%)
HSVhsv(58, 62%, 55%)
CMYKcmyk(0%, 2.1%, 62.4%, 44.7%)
CIE-LABlab(56.19, -10.24, 44.61)
CIE-LCHlch(56.19, 45.77, 102.93°)
OKLaboklab(61.88% -0.0316 0.102)
OKLCHoklch(61.88% 0.107 107.2)
XYZxyz(20.7163, 24.0974, 6.9275)
Luminance0.2410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A35 #35388D
analogous
#8D5E35 #8D8A35 #648D35
triadic
#8D8A35 #358D8A #8A358D
tetradic
#8D8A35 #358D5E #35388D #8D3564
square
#8D8A35 #358D5E #35388D #8D3564
split-complementary
#8D8A35 #35648D #5E358D
monochromatic
#343314 #615E24 #8D8A35 #B9B546 #CAC772

Accessibility & contrast

On white

3.61
#8D8A35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#8D8A35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A35
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A35#FFFFFF#000000##000000
##8D8A351.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95852B
Deuteranopia (green-blind)
#97883A
Tritanopia (blue-blind)
#978178
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d8a35;
/* rgb */ color: rgb(141, 138, 53);
/* oklch */ color: oklch(61.9% 0.107 107.2);
Tailwind
colors: {
  custom: {
    50: '#b1ab70',
    500: '#8d8a35',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a35;
$custom-light: #b1ab70;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a35",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 53
  },
  "hsl": {
    "h": 57.955,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61875,
    "c": 0.10679,
    "h": 107.2
  },
  "luminance": 0.24097
}

Semantic roles & 50–950 ramp

primary
#8D8A35
secondary
#6B6EB2
accent
#57D553
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111008
muted
#807F7B

Preview Lab

Preview with #8D8A35

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

Preview Lab → · Contrast checker → · Palette generator →

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