#9F911F#9F911F

#9F911F is a light, vivid yellow. Relative luminance 0.277; OKLCH L 65.0% C 0.127 H 101.9°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9F911F
RGBrgb(159, 145, 31)
HSLhsl(53, 67%, 37%)
HSVhsv(53, 81%, 62%)
CMYKcmyk(0%, 8.8%, 80.5%, 37.6%)
CIE-LABlab(59.64, -7.07, 57.17)
CIE-LCHlch(59.64, 57.60, 97.05°)
OKLaboklab(64.96% -0.0261 0.124)
OKLCHoklch(64.96% 0.127 101.9)
XYZxyz(24.6720, 27.7218, 5.3473)
Luminance0.2772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F911F #1F2D9F
analogous
#9F511F #9F911F #6D9F1F
triadic
#9F911F #1F9F91 #911F9F
tetradic
#9F911F #1F9F51 #1F2D9F #9F1F6D
square
#9F911F #1F9F51 #1F2D9F #9F1F6D
split-complementary
#9F911F #1F6D9F #511F9F
monochromatic
#39340B #6C6215 #9F911F #D2C029 #DFD05A

Accessibility & contrast

On white

3.21
#9F911F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#9F911F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F911F
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F911F#FFFFFF#000000##000000
##9F911F1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#A39228
Tritanopia (blue-blind)
#AC867C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9f911f;
/* rgb */ color: rgb(159, 145, 31);
/* oklch */ color: oklch(65.0% 0.127 101.9);
Tailwind
colors: {
  custom: {
    50: '#bfb066',
    500: '#9f911f',
    950: '#000000',
  },
}
SCSS
$custom: #9f911f;
$custom-light: #bfb066;
$custom-dark: #000000;
JSON
{
  "hex": "#9f911f",
  "rgb": {
    "r": 159,
    "g": 145,
    "b": 31
  },
  "hsl": {
    "h": 53.438,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64964,
    "c": 0.12666,
    "h": 101.9
  },
  "luminance": 0.27721
}

Semantic roles & 50–950 ramp

primary
#9F911F
secondary
#5763C3
accent
#50EA3E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F911F

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

Preview Lab → · Contrast checker → · Palette generator →

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