#8F941F#8F941F

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

Color values

HEX#8F941F
RGBrgb(143, 148, 31)
HSLhsl(63, 65%, 35%)
HSVhsv(63, 79%, 58%)
CMYKcmyk(3.4%, 0%, 79.1%, 42%)
CIE-LABlab(59.08, -15.88, 56.14)
CIE-LCHlch(59.08, 58.34, 105.79°)
OKLaboklab(64.18% -0.0498 0.1225)
OKLCHoklch(64.18% 0.132 112.1)
XYZxyz(22.1657, 27.1189, 5.3629)
Luminance0.2712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F941F #241F94
analogous
#945E1F #8F941F #55941F
triadic
#8F941F #1F8F94 #941F8F
tetradic
#8F941F #1F945E #241F94 #941F55
square
#8F941F #1F945E #241F94 #941F55
split-complementary
#8F941F #1F5594 #5E1F94
monochromatic
#2D2F0A #5E6114 #8F941F #C0C72A #D5DB53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F941F#FFFFFF#000000##000000
##8F941F1.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)
#A08F2A
Tritanopia (blue-blind)
#998A7E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8f941f;
/* rgb */ color: rgb(143, 148, 31);
/* oklch */ color: oklch(64.2% 0.132 112.1);
Tailwind
colors: {
  custom: {
    50: '#b3b366',
    500: '#8f941f',
    950: '#000000',
  },
}
SCSS
$custom: #8f941f;
$custom-light: #b3b366;
$custom-dark: #000000;
JSON
{
  "hex": "#8f941f",
  "rgb": {
    "r": 143,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 62.564,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.64184,
    "c": 0.1322,
    "h": 112.1
  },
  "luminance": 0.27118
}

Semantic roles & 50–950 ramp

primary
#8F941F
secondary
#5551BE
accent
#3FE847
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F941F

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

Preview Lab → · Contrast checker → · Palette generator →

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