#9F931F#9F931F

#9F931F is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.4% C 0.128 H 103.1°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9F931F
RGBrgb(159, 147, 31)
HSLhsl(54, 67%, 37%)
HSVhsv(54, 81%, 62%)
CMYKcmyk(0%, 7.5%, 80.5%, 37.6%)
CIE-LABlab(60.19, -8.14, 57.66)
CIE-LCHlch(60.19, 58.23, 98.04°)
OKLaboklab(65.41% -0.0291 0.125)
OKLCHoklch(65.41% 0.128 103.1)
XYZxyz(24.9803, 28.3384, 5.4501)
Luminance0.2834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F931F #1F2B9F
analogous
#9F531F #9F931F #6B9F1F
triadic
#9F931F #1F9F93 #931F9F
tetradic
#9F931F #1F9F53 #1F2B9F #9F1F6B
square
#9F931F #1F9F53 #1F2B9F #9F1F6B
split-complementary
#9F931F #1F6B9F #531F9F
monochromatic
#39340B #6C6415 #9F931F #D2C229 #DFD25A

Accessibility & contrast

On white

3.15
#9F931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#9F931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F931F
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F931F#FFFFFF#000000##000000
##9F931F1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A59429
Tritanopia (blue-blind)
#AC887E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9f931f;
/* rgb */ color: rgb(159, 147, 31);
/* oklch */ color: oklch(65.4% 0.128 103.1);
Tailwind
colors: {
  custom: {
    50: '#bfb266',
    500: '#9f931f',
    950: '#000000',
  },
}
SCSS
$custom: #9f931f;
$custom-light: #bfb266;
$custom-dark: #000000;
JSON
{
  "hex": "#9f931f",
  "rgb": {
    "r": 159,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 54.375,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65406,
    "c": 0.12835,
    "h": 103.1
  },
  "luminance": 0.28337
}

Semantic roles & 50–950 ramp

primary
#9F931F
secondary
#5761C3
accent
#4EEA3E
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F931F

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

Preview Lab → · Contrast checker → · Palette generator →

#9F931F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva