#8F941D#8F941D

#8F941D is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.2% C 0.133 H 112.1°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8F941D
RGBrgb(143, 148, 29)
HSLhsl(63, 67%, 35%)
HSVhsv(63, 80%, 58%)
CMYKcmyk(3.4%, 0%, 80.4%, 42%)
CIE-LABlab(59.07, -15.95, 56.75)
CIE-LCHlch(59.07, 58.95, 105.70°)
OKLaboklab(64.17% -0.0502 0.1234)
OKLCHoklch(64.17% 0.133 112.1)
XYZxyz(22.1401, 27.1087, 5.2284)
Luminance0.2711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F941D #221D94
analogous
#945E1D #8F941D #54941D
triadic
#8F941D #1D8F94 #941D8F
tetradic
#8F941D #1D945E #221D94 #941D54
square
#8F941D #1D945E #221D94 #941D54
split-complementary
#8F941D #1D5494 #5E1D94
monochromatic
#2C2E09 #5E6113 #8F941D #C0C727 #D7DC4F

Accessibility & contrast

On white

3.27
#8F941D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#8F941D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F941D
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F941D#FFFFFF#000000##000000
##8F941D1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A08F28
Tritanopia (blue-blind)
#998A7E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8f941d;
/* rgb */ color: rgb(143, 148, 29);
/* oklch */ color: oklch(64.2% 0.133 112.1);
Tailwind
colors: {
  custom: {
    50: '#b3b365',
    500: '#8f941d',
    950: '#000000',
  },
}
SCSS
$custom: #8f941d;
$custom-light: #b3b365;
$custom-dark: #000000;
JSON
{
  "hex": "#8f941d",
  "rgb": {
    "r": 143,
    "g": 148,
    "b": 29
  },
  "hsl": {
    "h": 62.521,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.64173,
    "c": 0.13319,
    "h": 112.1
  },
  "luminance": 0.27108
}

Semantic roles & 50–950 ramp

primary
#8F941D
secondary
#524EBF
accent
#3EEA45
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F941D

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

Preview Lab → · Contrast checker → · Palette generator →

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