#8D9740#8D9740

#8D9740 is a light, moderate yellow. Relative luminance 0.282; OKLCH L 65.0% C 0.112 H 115.1°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8D9740
RGBrgb(141, 151, 64)
HSLhsl(67, 40%, 42%)
HSVhsv(67, 58%, 59%)
CMYKcmyk(6.6%, 0%, 57.6%, 40.8%)
CIE-LABlab(60.04, -16.28, 43.74)
CIE-LCHlch(60.04, 46.67, 110.42°)
OKLaboklab(64.99% -0.0475 0.1016)
OKLCHoklch(64.99% 0.112 115.1)
XYZxyz(22.9770, 28.1664, 9.0757)
Luminance0.2817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9740 #4A4097
analogous
#977640 #8D9740 #619740
triadic
#8D9740 #408D97 #97408D
tetradic
#8D9740 #409776 #4A4097 #974061
square
#8D9740 #409776 #4A4097 #974061
split-complementary
#8D9740 #406197 #764097
monochromatic
#3D411C #656C2E #8D9740 #AFB95B #C4CC86

Accessibility & contrast

On white

3.17
#8D9740 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#8D9740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9740
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9740#FFFFFF#000000##000000
##8D97401.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19037
Deuteranopia (green-blind)
#A09145
Tritanopia (blue-blind)
#958F84
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8d9740;
/* rgb */ color: rgb(141, 151, 64);
/* oklch */ color: oklch(65.0% 0.112 115.1);
Tailwind
colors: {
  custom: {
    50: '#b0b578',
    500: '#8d9740',
    950: '#000000',
  },
}
SCSS
$custom: #8d9740;
$custom-light: #b0b578;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9740",
  "rgb": {
    "r": 141,
    "g": 151,
    "b": 64
  },
  "hsl": {
    "h": 66.897,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.64987,
    "c": 0.11213,
    "h": 115.1
  },
  "luminance": 0.28166
}

Semantic roles & 50–950 ramp

primary
#8D9740
secondary
#837DB6
accent
#57D065
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111109
muted
#80807B

Preview Lab

Preview with #8D9740

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

Preview Lab → · Contrast checker → · Palette generator →

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