#8D9839#8D9839

#8D9839 is a light, moderate yellow. Relative luminance 0.284; OKLCH L 65.1% C 0.120 H 115.4°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8D9839
RGBrgb(141, 152, 57)
HSLhsl(67, 45%, 41%)
HSVhsv(67, 63%, 60%)
CMYKcmyk(7.2%, 0%, 62.5%, 40.4%)
CIE-LABlab(60.26, -17.35, 47.21)
CIE-LCHlch(60.26, 50.30, 110.18°)
OKLaboklab(65.14% -0.0513 0.1081)
OKLCHoklch(65.14% 0.12 115.4)
XYZxyz(22.9518, 28.4149, 8.1457)
Luminance0.2842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9839 #443998
analogous
#987339 #8D9839 #5D9839
triadic
#8D9839 #398D98 #98398D
tetradic
#8D9839 #399873 #443998 #98395D
square
#8D9839 #399873 #443998 #98395D
split-complementary
#8D9839 #395D98 #733998
monochromatic
#3A3F18 #646B28 #8D9839 #B1BE51 #C5CE7D

Accessibility & contrast

On white

3.14
#8D9839 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#8D9839 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9839
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9839#FFFFFF#000000##000000
##8D98391.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2912E
Deuteranopia (green-blind)
#A1923F
Tritanopia (blue-blind)
#969084
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8d9839;
/* rgb */ color: rgb(141, 152, 57);
/* oklch */ color: oklch(65.1% 0.120 115.4);
Tailwind
colors: {
  custom: {
    50: '#b1b674',
    500: '#8d9839',
    950: '#000000',
  },
}
SCSS
$custom: #8d9839;
$custom-light: #b1b674;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9839",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 57
  },
  "hsl": {
    "h": 66.947,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65144,
    "c": 0.11961,
    "h": 115.4
  },
  "luminance": 0.28415
}

Semantic roles & 50–950 ramp

primary
#8D9839
secondary
#7D75B8
accent
#53D562
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8D9839

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

Preview Lab → · Contrast checker → · Palette generator →

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