#8D941F#8D941F

#8D941F is a light, vivid yellow. Relative luminance 0.269; OKLCH L 64.0% C 0.133 H 113.1°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8D941F
RGBrgb(141, 148, 31)
HSLhsl(64, 65%, 35%)
HSVhsv(64, 79%, 58%)
CMYKcmyk(4.7%, 0%, 79.1%, 42%)
CIE-LABlab(58.92, -16.77, 55.93)
CIE-LCHlch(58.92, 58.39, 106.69°)
OKLaboklab(64.01% -0.0522 0.1221)
OKLCHoklch(64.01% 0.133 113.1)
XYZxyz(21.8224, 26.9420, 5.3468)
Luminance0.2694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D941F #261F94
analogous
#94611F #8D941F #52941F
triadic
#8D941F #1F8D94 #941F8D
tetradic
#8D941F #1F9461 #261F94 #941F52
square
#8D941F #1F9461 #261F94 #941F52
split-complementary
#8D941F #1F5294 #611F94
monochromatic
#2D2F0A #5D6114 #8D941F #BDC72A #D3DB53

Accessibility & contrast

On white

3.29
#8D941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#8D941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D941F
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D941F#FFFFFF#000000##000000
##8D941F1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A08F2A
Tritanopia (blue-blind)
#978B7E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8d941f;
/* rgb */ color: rgb(141, 148, 31);
/* oklch */ color: oklch(64.0% 0.133 113.1);
Tailwind
colors: {
  custom: {
    50: '#b2b366',
    500: '#8d941f',
    950: '#000000',
  },
}
SCSS
$custom: #8d941f;
$custom-light: #b2b366;
$custom-dark: #000000;
JSON
{
  "hex": "#8d941f",
  "rgb": {
    "r": 141,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 63.59,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.64013,
    "c": 0.13278,
    "h": 113.1
  },
  "luminance": 0.26941
}

Semantic roles & 50–950 ramp

primary
#8D941F
secondary
#5751BE
accent
#3FE84A
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D941F

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

Preview Lab → · Contrast checker → · Palette generator →

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