#8D9845#8D9845

#8D9845 is a light, moderate yellow. Relative luminance 0.285; OKLCH L 65.3% C 0.109 H 115.8°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8D9845
RGBrgb(141, 152, 69)
HSLhsl(68, 38%, 43%)
HSVhsv(68, 55%, 60%)
CMYKcmyk(7.2%, 0%, 54.6%, 40.4%)
CIE-LABlab(60.38, -16.36, 41.72)
CIE-LCHlch(60.38, 44.81, 111.41°)
OKLaboklab(65.28% -0.0472 0.0978)
OKLCHoklch(65.28% 0.109 115.8)
XYZxyz(23.2873, 28.5492, 9.9128)
Luminance0.2855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9845 #504598
analogous
#987945 #8D9845 #639845
triadic
#8D9845 #458D98 #98458D
tetradic
#8D9845 #459879 #504598 #984563
square
#8D9845 #459879 #504598 #984563
split-complementary
#8D9845 #456398 #794598
monochromatic
#3F441F #666E32 #8D9845 #ADB862 #C3CB8C

Accessibility & contrast

On white

3.13
#8D9845 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#8D9845 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9845
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9845#FFFFFF#000000##000000
##8D98451.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2913D
Deuteranopia (green-blind)
#A1924A
Tritanopia (blue-blind)
#959085
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8d9845;
/* rgb */ color: rgb(141, 152, 69);
/* oklch */ color: oklch(65.3% 0.109 115.8);
Tailwind
colors: {
  custom: {
    50: '#b0b67b',
    500: '#8d9845',
    950: '#000000',
  },
}
SCSS
$custom: #8d9845;
$custom-light: #b0b67b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9845",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 69
  },
  "hsl": {
    "h": 67.952,
    "s": 37.557,
    "l": 43.333
  },
  "oklch": {
    "l": 0.65279,
    "c": 0.1086,
    "h": 115.8
  },
  "luminance": 0.28549
}

Semantic roles & 50–950 ramp

primary
#8D9845
secondary
#8982B6
accent
#5ACE6A
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#111109
muted
#80807B

Preview Lab

Preview with #8D9845

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

Preview Lab → · Contrast checker → · Palette generator →

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