#8D8930#8D8930

#8D8930 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.110 H 106.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8D8930
RGBrgb(141, 137, 48)
HSLhsl(57, 49%, 37%)
HSVhsv(57, 66%, 55%)
CMYKcmyk(0%, 2.8%, 66%, 44.7%)
CIE-LABlab(55.85, -10.04, 46.51)
CIE-LCHlch(55.85, 47.58, 102.18°)
OKLaboklab(61.6% -0.0316 0.1052)
OKLCHoklch(61.6% 0.11 106.7)
XYZxyz(20.4644, 23.7681, 6.3055)
Luminance0.2377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8930 #30348D
analogous
#8D5A30 #8D8930 #638D30
triadic
#8D8930 #308D89 #89308D
tetradic
#8D8930 #308D5A #30348D #8D3063
square
#8D8930 #308D5A #30348D #8D3063
split-complementary
#8D8930 #30638D #5A308D
monochromatic
#323011 #5F5D20 #8D8930 #BBB540 #CDC86B

Accessibility & contrast

On white

3.65
#8D8930 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#8D8930 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8930
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8930#FFFFFF#000000##000000
##8D89301.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948424
Deuteranopia (green-blind)
#968735
Tritanopia (blue-blind)
#978077
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d8930;
/* rgb */ color: rgb(141, 137, 48);
/* oklch */ color: oklch(61.6% 0.110 106.7);
Tailwind
colors: {
  custom: {
    50: '#b1ab6d',
    500: '#8d8930',
    950: '#000000',
  },
}
SCSS
$custom: #8d8930;
$custom-light: #b1ab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8930",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 48
  },
  "hsl": {
    "h": 57.419,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61598,
    "c": 0.10989,
    "h": 106.7
  },
  "luminance": 0.23767
}

Semantic roles & 50–950 ramp

primary
#8D8930
secondary
#6568B4
accent
#55D94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8930

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

Preview Lab → · Contrast checker → · Palette generator →

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