#8F931D#8F931D

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

Color values

HEX#8F931D
RGBrgb(143, 147, 29)
HSLhsl(62, 67%, 35%)
HSVhsv(62, 80%, 58%)
CMYKcmyk(2.7%, 0%, 80.3%, 42.4%)
CIE-LABlab(58.79, -15.43, 56.49)
CIE-LCHlch(58.79, 58.56, 105.28°)
OKLaboklab(63.94% -0.0487 0.1228)
OKLCHoklch(63.94% 0.132 111.6)
XYZxyz(21.9840, 26.7964, 5.1763)
Luminance0.2680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F931D #211D93
analogous
#935C1D #8F931D #54931D
triadic
#8F931D #1D8F93 #931D8F
tetradic
#8F931D #1D935C #211D93 #931D54
square
#8F931D #1D935C #211D93 #931D54
split-complementary
#8F931D #1D5493 #5C1D93
monochromatic
#2C2D09 #5D6013 #8F931D #C1C627 #D7DC4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F931D#FFFFFF#000000##000000
##8F931D1.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)
#A08F28
Tritanopia (blue-blind)
#99897D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8f931d;
/* rgb */ color: rgb(143, 147, 29);
/* oklch */ color: oklch(63.9% 0.132 111.6);
Tailwind
colors: {
  custom: {
    50: '#b3b265',
    500: '#8f931d',
    950: '#000000',
  },
}
SCSS
$custom: #8f931d;
$custom-light: #b3b265;
$custom-dark: #000000;
JSON
{
  "hex": "#8f931d",
  "rgb": {
    "r": 143,
    "g": 147,
    "b": 29
  },
  "hsl": {
    "h": 62.034,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.63942,
    "c": 0.13214,
    "h": 111.6
  },
  "luminance": 0.26796
}

Semantic roles & 50–950 ramp

primary
#8F931D
secondary
#514DBF
accent
#3EEA44
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F931D

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

Preview Lab → · Contrast checker → · Palette generator →

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