#8D931C#8D931C

#8D931C is a light, vivid yellow. Relative luminance 0.266; OKLCH L 63.8% C 0.133 H 112.7°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8D931C
RGBrgb(141, 147, 28)
HSLhsl(63, 68%, 34%)
HSVhsv(63, 81%, 58%)
CMYKcmyk(4.1%, 0%, 81%, 42.4%)
CIE-LABlab(58.62, -16.36, 56.57)
CIE-LCHlch(58.62, 58.89, 106.13°)
OKLaboklab(63.76% -0.0513 0.1229)
OKLCHoklch(63.76% 0.133 112.7)
XYZxyz(21.6286, 26.6145, 5.0962)
Luminance0.2661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D931C #221C93
analogous
#935E1C #8D931C #52931C
triadic
#8D931C #1C8D93 #931C8D
tetradic
#8D931C #1C935E #221C93 #931C52
square
#8D931C #1C935E #221C93 #931C52
split-complementary
#8D931C #1C5293 #5E1C93
monochromatic
#2A2C08 #5C6012 #8D931C #BEC626 #D6DD4C

Accessibility & contrast

On white

3.32
#8D931C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#8D931C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D931C
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D931C#FFFFFF#000000##000000
##8D931C1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9F8E27
Tritanopia (blue-blind)
#978A7D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8d931c;
/* rgb */ color: rgb(141, 147, 28);
/* oklch */ color: oklch(63.8% 0.133 112.7);
Tailwind
colors: {
  custom: {
    50: '#b2b264',
    500: '#8d931c',
    950: '#000000',
  },
}
SCSS
$custom: #8d931c;
$custom-light: #b2b264;
$custom-dark: #000000;
JSON
{
  "hex": "#8d931c",
  "rgb": {
    "r": 141,
    "g": 147,
    "b": 28
  },
  "hsl": {
    "h": 63.025,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.63764,
    "c": 0.13317,
    "h": 112.7
  },
  "luminance": 0.26614
}

Semantic roles & 50–950 ramp

primary
#8D931C
secondary
#514CBF
accent
#3DEB46
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D931C

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

Preview Lab → · Contrast checker → · Palette generator →

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