#8D941C#8D941C

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

Color values

HEX#8D941C
RGBrgb(141, 148, 28)
HSLhsl(64, 68%, 35%)
HSVhsv(64, 81%, 58%)
CMYKcmyk(4.7%, 0%, 81.1%, 42%)
CIE-LABlab(58.91, -16.88, 56.83)
CIE-LCHlch(58.91, 59.28, 106.55°)
OKLaboklab(64% -0.0527 0.1235)
OKLCHoklch(64% 0.134 113.1)
XYZxyz(21.7847, 26.9269, 5.1482)
Luminance0.2693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D941C #231C94
analogous
#945F1C #8D941C #51941C
triadic
#8D941C #1C8D94 #941C8D
tetradic
#8D941C #1C945F #231C94 #941C51
square
#8D941C #1C945F #231C94 #941C51
split-complementary
#8D941C #1C5194 #5F1C94
monochromatic
#2B2D09 #5C6112 #8D941C #BEC726 #D5DD4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D941C#FFFFFF#000000##000000
##8D941C1.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)
#A08F28
Tritanopia (blue-blind)
#978B7E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8d941c;
/* rgb */ color: rgb(141, 148, 28);
/* oklch */ color: oklch(64.0% 0.134 113.1);
Tailwind
colors: {
  custom: {
    50: '#b2b364',
    500: '#8d941c',
    950: '#000000',
  },
}
SCSS
$custom: #8d941c;
$custom-light: #b2b364;
$custom-dark: #000000;
JSON
{
  "hex": "#8d941c",
  "rgb": {
    "r": 141,
    "g": 148,
    "b": 28
  },
  "hsl": {
    "h": 63.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.63997,
    "c": 0.13424,
    "h": 113.1
  },
  "luminance": 0.26926
}

Semantic roles & 50–950 ramp

primary
#8D941C
secondary
#534CC0
accent
#3DEB47
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D941C

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

Preview Lab → · Contrast checker → · Palette generator →

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