#8D993B#8D993B

#8D993B is a light, moderate yellow. Relative luminance 0.288; OKLCH L 65.4% C 0.119 H 115.9°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8D993B
RGBrgb(141, 153, 59)
HSLhsl(68, 44%, 42%)
HSVhsv(68, 61%, 60%)
CMYKcmyk(7.8%, 0%, 61.4%, 40%)
CIE-LABlab(60.57, -17.72, 46.65)
CIE-LCHlch(60.57, 49.90, 110.80°)
OKLaboklab(65.4% -0.0521 0.1072)
OKLCHoklch(65.4% 0.119 115.9)
XYZxyz(23.1656, 28.7613, 8.4679)
Luminance0.2876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D993B #473B99
analogous
#99763B #8D993B #5E993B
triadic
#8D993B #3B8D99 #993B8D
tetradic
#8D993B #3B9976 #473B99 #993B5E
square
#8D993B #3B9976 #473B99 #993B5E
split-complementary
#8D993B #3B5E99 #763B99
monochromatic
#3C4119 #646D2A #8D993B #B0BD54 #C4CE80

Accessibility & contrast

On white

3.11
#8D993B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#8D993B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D993B
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D993B#FFFFFF#000000##000000
##8D993B1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39230
Deuteranopia (green-blind)
#A29341
Tritanopia (blue-blind)
#959185
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8d993b;
/* rgb */ color: rgb(141, 153, 59);
/* oklch */ color: oklch(65.4% 0.119 115.9);
Tailwind
colors: {
  custom: {
    50: '#b1b775',
    500: '#8d993b',
    950: '#000000',
  },
}
SCSS
$custom: #8d993b;
$custom-light: #b1b775;
$custom-dark: #000000;
JSON
{
  "hex": "#8d993b",
  "rgb": {
    "r": 141,
    "g": 153,
    "b": 59
  },
  "hsl": {
    "h": 67.66,
    "s": 44.34,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65398,
    "c": 0.11914,
    "h": 115.9
  },
  "luminance": 0.28761
}

Semantic roles & 50–950 ramp

primary
#8D993B
secondary
#8078B8
accent
#54D464
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111109
muted
#80807B

Preview Lab

Preview with #8D993B

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

Preview Lab → · Contrast checker → · Palette generator →

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