#8D982F#8D982F

#8D982F is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.1% C 0.127 H 115.2°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8D982F
RGBrgb(141, 152, 47)
HSLhsl(66, 53%, 39%)
HSVhsv(66, 69%, 60%)
CMYKcmyk(7.2%, 0%, 69.1%, 40.4%)
CIE-LABlab(60.18, -18.03, 51.38)
CIE-LCHlch(60.18, 54.45, 109.33°)
OKLaboklab(65.05% -0.0542 0.1153)
OKLCHoklch(65.05% 0.127 115.2)
XYZxyz(22.7264, 28.3248, 6.9588)
Luminance0.2832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D982F #3A2F98
analogous
#986F2F #8D982F #59982F
triadic
#8D982F #2F8D98 #982F8D
tetradic
#8D982F #2F986F #3A2F98 #982F59
square
#8D982F #2F986F #3A2F98 #982F59
split-complementary
#8D982F #2F5998 #6F2F98
monochromatic
#363B12 #626921 #8D982F #B6C440 #C8D26F

Accessibility & contrast

On white

3.15
#8D982F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#8D982F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D982F
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D982F#FFFFFF#000000##000000
##8D982F1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3901F
Deuteranopia (green-blind)
#A29237
Tritanopia (blue-blind)
#968F83
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8d982f;
/* rgb */ color: rgb(141, 152, 47);
/* oklch */ color: oklch(65.1% 0.127 115.2);
Tailwind
colors: {
  custom: {
    50: '#b1b66e',
    500: '#8d982f',
    950: '#000000',
  },
}
SCSS
$custom: #8d982f;
$custom-light: #b1b66e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d982f",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 66.286,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65054,
    "c": 0.12744,
    "h": 115.2
  },
  "luminance": 0.28324
}

Semantic roles & 50–950 ramp

primary
#8D982F
secondary
#7169BA
accent
#4CDC5B
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D982F

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

Preview Lab → · Contrast checker → · Palette generator →

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