#8D9938#8D9938

#8D9938 is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.4% C 0.122 H 115.8°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8D9938
RGBrgb(141, 153, 56)
HSLhsl(67, 46%, 41%)
HSVhsv(67, 63%, 60%)
CMYKcmyk(7.8%, 0%, 63.4%, 40%)
CIE-LABlab(60.54, -17.95, 47.96)
CIE-LCHlch(60.54, 51.21, 110.51°)
OKLaboklab(65.37% -0.053 0.1095)
OKLCHoklch(65.37% 0.122 115.8)
XYZxyz(23.0900, 28.7310, 8.0699)
Luminance0.2873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9938 #443899
analogous
#997438 #8D9938 #5C9938
triadic
#8D9938 #388D99 #99388D
tetradic
#8D9938 #389974 #443899 #99385C
square
#8D9938 #389974 #443899 #99385C
split-complementary
#8D9938 #385C99 #743899
monochromatic
#3A3F17 #646C28 #8D9938 #B1BF4F #C5CF7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D9938#FFFFFF#000000##000000
##8D99381.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)
#A3912C
Deuteranopia (green-blind)
#A2933E
Tritanopia (blue-blind)
#969185
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8d9938;
/* rgb */ color: rgb(141, 153, 56);
/* oklch */ color: oklch(65.4% 0.122 115.8);
Tailwind
colors: {
  custom: {
    50: '#b1b773',
    500: '#8d9938',
    950: '#000000',
  },
}
SCSS
$custom: #8d9938;
$custom-light: #b1b773;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9938",
  "rgb": {
    "r": 141,
    "g": 153,
    "b": 56
  },
  "hsl": {
    "h": 67.423,
    "s": 46.411,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65367,
    "c": 0.12168,
    "h": 115.8
  },
  "luminance": 0.28731
}

Semantic roles & 50–950 ramp

primary
#8D9938
secondary
#7D74B8
accent
#52D662
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8D9938

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

Preview Lab → · Contrast checker → · Palette generator →

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