#8F9937#8F9937

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

Color values

HEX#8F9937
RGBrgb(143, 153, 55)
HSLhsl(66, 47%, 41%)
HSVhsv(66, 64%, 60%)
CMYKcmyk(6.5%, 0%, 64.1%, 40%)
CIE-LABlab(60.69, -17.15, 48.61)
CIE-LCHlch(60.69, 51.54, 109.44°)
OKLaboklab(65.52% -0.051 0.1107)
OKLCHoklch(65.52% 0.122 114.8)
XYZxyz(23.4091, 28.8983, 7.9585)
Luminance0.2890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9937 #413799
analogous
#997237 #8F9937 #5E9937
triadic
#8F9937 #378F99 #99378F
tetradic
#8F9937 #379972 #413799 #99375E
square
#8F9937 #379972 #413799 #99375E
split-complementary
#8F9937 #375E99 #723799
monochromatic
#3B3F17 #656C27 #8F9937 #B4BF4E #C7D07B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F9937#FFFFFF#000000##000000
##8F99371.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)
#A4922B
Deuteranopia (green-blind)
#A3933E
Tritanopia (blue-blind)
#989085
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8f9937;
/* rgb */ color: rgb(143, 153, 55);
/* oklch */ color: oklch(65.5% 0.122 114.8);
Tailwind
colors: {
  custom: {
    50: '#b2b673',
    500: '#8f9937',
    950: '#000000',
  },
}
SCSS
$custom: #8f9937;
$custom-light: #b2b673;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9937",
  "rgb": {
    "r": 143,
    "g": 153,
    "b": 55
  },
  "hsl": {
    "h": 66.122,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65523,
    "c": 0.12189,
    "h": 114.8
  },
  "luminance": 0.28898
}

Semantic roles & 50–950 ramp

primary
#8F9937
secondary
#7A73B9
accent
#51D75F
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8F9937

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

Preview Lab → · Contrast checker → · Palette generator →

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