#8F9939#8F9939

#8F9939 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.5% C 0.120 H 114.8°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#8F9939
RGBrgb(143, 153, 57)
HSLhsl(66, 46%, 41%)
HSVhsv(66, 63%, 60%)
CMYKcmyk(6.5%, 0%, 62.7%, 40%)
CIE-LABlab(60.71, -17.01, 47.74)
CIE-LCHlch(60.71, 50.68, 109.61°)
OKLaboklab(65.54% -0.0504 0.1092)
OKLCHoklch(65.54% 0.12 114.8)
XYZxyz(23.4580, 28.9179, 8.2161)
Luminance0.2892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9939 #433999
analogous
#997339 #8F9939 #5F9939
triadic
#8F9939 #398F99 #99398F
tetradic
#8F9939 #399973 #433999 #99395F
square
#8F9939 #399973 #433999 #99395F
split-complementary
#8F9939 #395F99 #733999
monochromatic
#3C4018 #656C28 #8F9939 #B3BE51 #C6CF7E

Accessibility & contrast

On white

3.10
#8F9939 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#8F9939 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9939
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9939#FFFFFF#000000##000000
##8F99391.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4922D
Deuteranopia (green-blind)
#A3933F
Tritanopia (blue-blind)
#989085
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8f9939;
/* rgb */ color: rgb(143, 153, 57);
/* oklch */ color: oklch(65.5% 0.120 114.8);
Tailwind
colors: {
  custom: {
    50: '#b2b674',
    500: '#8f9939',
    950: '#000000',
  },
}
SCSS
$custom: #8f9939;
$custom-light: #b2b674;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9939",
  "rgb": {
    "r": 143,
    "g": 153,
    "b": 57
  },
  "hsl": {
    "h": 66.25,
    "s": 45.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.65542,
    "c": 0.12023,
    "h": 114.8
  },
  "luminance": 0.28918
}

Semantic roles & 50–950 ramp

primary
#8F9939
secondary
#7D76B8
accent
#52D560
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8F9939

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

Preview Lab → · Contrast checker → · Palette generator →

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