#8F931F#8F931F

#8F931F is a light, vivid yellow. Relative luminance 0.268; OKLCH L 64.0% C 0.131 H 111.6°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8F931F
RGBrgb(143, 147, 31)
HSLhsl(62, 65%, 35%)
HSVhsv(62, 79%, 58%)
CMYKcmyk(2.7%, 0%, 78.9%, 42.4%)
CIE-LABlab(58.79, -15.35, 55.88)
CIE-LCHlch(58.79, 57.95, 105.36°)
OKLaboklab(63.95% -0.0484 0.1219)
OKLCHoklch(63.95% 0.131 111.6)
XYZxyz(22.0095, 26.8066, 5.3108)
Luminance0.2681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F931F #231F93
analogous
#935D1F #8F931F #55931F
triadic
#8F931F #1F8F93 #931F8F
tetradic
#8F931F #1F935D #231F93 #931F55
square
#8F931F #1F935D #231F93 #931F55
split-complementary
#8F931F #1F5593 #5D1F93
monochromatic
#2D2E0A #5E6014 #8F931F #C0C62A #D6DA52

Accessibility & contrast

On white

3.30
#8F931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#8F931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F931F
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F931F#FFFFFF#000000##000000
##8F931F1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9F8F29
Tritanopia (blue-blind)
#99897E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8f931f;
/* rgb */ color: rgb(143, 147, 31);
/* oklch */ color: oklch(64.0% 0.131 111.6);
Tailwind
colors: {
  custom: {
    50: '#b3b266',
    500: '#8f931f',
    950: '#000000',
  },
}
SCSS
$custom: #8f931f;
$custom-light: #b3b266;
$custom-dark: #000000;
JSON
{
  "hex": "#8f931f",
  "rgb": {
    "r": 143,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 62.069,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.63952,
    "c": 0.13114,
    "h": 111.6
  },
  "luminance": 0.26806
}

Semantic roles & 50–950 ramp

primary
#8F931F
secondary
#5450BE
accent
#40E845
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F931F

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

Preview Lab → · Contrast checker → · Palette generator →

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