#9F941F#9F941F

#9F941F is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.6% C 0.129 H 103.7°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9F941F
RGBrgb(159, 148, 31)
HSLhsl(55, 67%, 37%)
HSVhsv(55, 81%, 62%)
CMYKcmyk(0%, 6.9%, 80.5%, 37.6%)
CIE-LABlab(60.47, -8.68, 57.91)
CIE-LCHlch(60.47, 58.55, 98.52°)
OKLaboklab(65.63% -0.0306 0.1255)
OKLCHoklch(65.63% 0.129 103.7)
XYZxyz(25.1365, 28.6507, 5.5022)
Luminance0.2865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F941F #1F2A9F
analogous
#9F541F #9F941F #6A9F1F
triadic
#9F941F #1F9F94 #941F9F
tetradic
#9F941F #1F9F54 #1F2A9F #9F1F6A
square
#9F941F #1F9F54 #1F2A9F #9F1F6A
split-complementary
#9F941F #1F6A9F #541F9F
monochromatic
#39350B #6C6415 #9F941F #D2C429 #DFD35A

Accessibility & contrast

On white

3.12
#9F941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#9F941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F941F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F941F#FFFFFF#000000##000000
##9F941F1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#A69429
Tritanopia (blue-blind)
#AC897F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9f941f;
/* rgb */ color: rgb(159, 148, 31);
/* oklch */ color: oklch(65.6% 0.129 103.7);
Tailwind
colors: {
  custom: {
    50: '#bfb366',
    500: '#9f941f',
    950: '#000000',
  },
}
SCSS
$custom: #9f941f;
$custom-light: #bfb366;
$custom-dark: #000000;
JSON
{
  "hex": "#9f941f",
  "rgb": {
    "r": 159,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 54.844,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65628,
    "c": 0.12921,
    "h": 103.7
  },
  "luminance": 0.2865
}

Semantic roles & 50–950 ramp

primary
#9F941F
secondary
#5760C3
accent
#4CEA3E
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F941F

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

Preview Lab → · Contrast checker → · Palette generator →

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