#8D8730#8D8730

#8D8730 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.1% C 0.108 H 105.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8D8730
RGBrgb(141, 135, 48)
HSLhsl(56, 49%, 37%)
HSVhsv(56, 66%, 55%)
CMYKcmyk(0%, 4.3%, 66%, 44.7%)
CIE-LABlab(55.28, -8.95, 45.91)
CIE-LCHlch(55.28, 46.77, 101.04°)
OKLaboklab(61.14% -0.0286 0.104)
OKLCHoklch(61.14% 0.108 105.4)
XYZxyz(20.1827, 23.2048, 6.2116)
Luminance0.2320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8730 #30368D
analogous
#8D5930 #8D8730 #658D30
triadic
#8D8730 #308D87 #87308D
tetradic
#8D8730 #308D59 #30368D #8D3065
square
#8D8730 #308D59 #30368D #8D3065
split-complementary
#8D8730 #30658D #59308D
monochromatic
#323011 #5F5B20 #8D8730 #BBB340 #CDC66B

Accessibility & contrast

On white

3.72
#8D8730 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#8D8730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8730
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8730#FFFFFF#000000##000000
##8D87301.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928225
Deuteranopia (green-blind)
#958635
Tritanopia (blue-blind)
#977E75
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d8730;
/* rgb */ color: rgb(141, 135, 48);
/* oklch */ color: oklch(61.1% 0.108 105.4);
Tailwind
colors: {
  custom: {
    50: '#b1a96d',
    500: '#8d8730',
    950: '#000000',
  },
}
SCSS
$custom: #8d8730;
$custom-light: #b1a96d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8730",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 48
  },
  "hsl": {
    "h": 56.129,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61142,
    "c": 0.10782,
    "h": 105.4
  },
  "luminance": 0.23204
}

Semantic roles & 50–950 ramp

primary
#8D8730
secondary
#656AB4
accent
#58D94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8D8730

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

Preview Lab → · Contrast checker → · Palette generator →

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