#8D941B#8D941B

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

Color values

HEX#8D941B
RGBrgb(141, 148, 27)
HSLhsl(63, 69%, 34%)
HSVhsv(63, 82%, 58%)
CMYKcmyk(4.7%, 0%, 81.8%, 42%)
CIE-LABlab(58.90, -16.92, 57.11)
CIE-LCHlch(58.90, 59.57, 106.50°)
OKLaboklab(63.99% -0.0529 0.1239)
OKLCHoklch(63.99% 0.135 113.1)
XYZxyz(21.7730, 26.9222, 5.0862)
Luminance0.2692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D941B #221B94
analogous
#945F1B #8D941B #51941B
triadic
#8D941B #1B8D94 #941B8D
tetradic
#8D941B #1B945F #221B94 #941B51
square
#8D941B #1B945F #221B94 #941B51
split-complementary
#8D941B #1B5194 #5F1B94
monochromatic
#2A2C08 #5C6012 #8D941B #BEC824 #D6DE4B

Accessibility & contrast

On white

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

On black

6.38
#8D941B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D941B
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D941B#FFFFFF#000000##000000
##8D941B1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d941b;
/* rgb */ color: rgb(141, 148, 27);
/* oklch */ color: oklch(64.0% 0.135 113.1);
Tailwind
colors: {
  custom: {
    50: '#b2b364',
    500: '#8d941b',
    950: '#000000',
  },
}
SCSS
$custom: #8d941b;
$custom-light: #b2b364;
$custom-dark: #000000;
JSON
{
  "hex": "#8d941b",
  "rgb": {
    "r": 141,
    "g": 148,
    "b": 27
  },
  "hsl": {
    "h": 63.471,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.63992,
    "c": 0.13471,
    "h": 113.1
  },
  "luminance": 0.26922
}

Semantic roles & 50–950 ramp

primary
#8D941B
secondary
#514BC0
accent
#3CEC46
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D941B

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

Preview Lab → · Contrast checker → · Palette generator →

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