#8F931C#8F931C

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

Color values

HEX#8F931C
RGBrgb(143, 147, 28)
HSLhsl(62, 68%, 34%)
HSVhsv(62, 81%, 58%)
CMYKcmyk(2.7%, 0%, 81%, 42.4%)
CIE-LABlab(58.78, -15.47, 56.78)
CIE-LCHlch(58.78, 58.85, 105.24°)
OKLaboklab(63.94% -0.0489 0.1233)
OKLCHoklch(63.94% 0.133 111.6)
XYZxyz(21.9718, 26.7915, 5.1122)
Luminance0.2679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F931C #201C93
analogous
#935C1C #8F931C #54931C
triadic
#8F931C #1C8F93 #931C8F
tetradic
#8F931C #1C935C #201C93 #931C54
square
#8F931C #1C935C #201C93 #931C54
split-complementary
#8F931C #1C5493 #5C1C93
monochromatic
#2B2C08 #5D6012 #8F931C #C1C626 #D8DD4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8f931c;
/* rgb */ color: rgb(143, 147, 28);
/* oklch */ color: oklch(63.9% 0.133 111.6);
Tailwind
colors: {
  custom: {
    50: '#b3b264',
    500: '#8f931c',
    950: '#000000',
  },
}
SCSS
$custom: #8f931c;
$custom-light: #b3b264;
$custom-dark: #000000;
JSON
{
  "hex": "#8f931c",
  "rgb": {
    "r": 143,
    "g": 147,
    "b": 28
  },
  "hsl": {
    "h": 62.017,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.63937,
    "c": 0.13261,
    "h": 111.6
  },
  "luminance": 0.26791
}

Semantic roles & 50–950 ramp

primary
#8F931C
secondary
#4F4CBF
accent
#3DEB43
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F931C

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

Preview Lab → · Contrast checker → · Palette generator →

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