#8F9B31#8F9B31

#8F9B31 is a light, vivid yellow. Relative luminance 0.295; OKLCH L 65.9% C 0.129 H 115.6°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8F9B31
RGBrgb(143, 155, 49)
HSLhsl(67, 52%, 40%)
HSVhsv(67, 68%, 61%)
CMYKcmyk(7.7%, 0%, 68.4%, 39.2%)
CIE-LABlab(61.22, -18.58, 51.69)
CIE-LCHlch(61.22, 54.93, 109.77°)
OKLaboklab(65.93% -0.0556 0.1163)
OKLCHoklch(65.93% 0.129 115.6)
XYZxyz(23.6040, 29.5044, 7.3566)
Luminance0.2950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9B31 #3D319B
analogous
#9B7231 #8F9B31 #5A9B31
triadic
#8F9B31 #318F9B #9B318F
tetradic
#8F9B31 #319B72 #3D319B #9B315A
square
#8F9B31 #319B72 #3D319B #9B315A
split-complementary
#8F9B31 #315A9B #72319B
monochromatic
#393E14 #646D22 #8F9B31 #B6C445 #C8D373

Accessibility & contrast

On white

3.04
#8F9B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#8F9B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9B31
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9B31#FFFFFF#000000##000000
##8F9B311.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69321
Deuteranopia (green-blind)
#A59539
Tritanopia (blue-blind)
#989286
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8f9b31;
/* rgb */ color: rgb(143, 155, 49);
/* oklch */ color: oklch(65.9% 0.129 115.6);
Tailwind
colors: {
  custom: {
    50: '#b3b86f',
    500: '#8f9b31',
    950: '#000000',
  },
}
SCSS
$custom: #8f9b31;
$custom-light: #b3b86f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9b31",
  "rgb": {
    "r": 143,
    "g": 155,
    "b": 49
  },
  "hsl": {
    "h": 66.792,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.65934,
    "c": 0.12888,
    "h": 115.6
  },
  "luminance": 0.29504
}

Semantic roles & 50–950 ramp

primary
#8F9B31
secondary
#766DBB
accent
#4CDB5D
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8F9B31

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

Preview Lab → · Contrast checker → · Palette generator →

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