#9F901F#9F901F

#9F901F is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.7% C 0.126 H 101.2°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9F901F
RGBrgb(159, 144, 31)
HSLhsl(53, 67%, 37%)
HSVhsv(53, 81%, 62%)
CMYKcmyk(0%, 9.4%, 80.5%, 37.6%)
CIE-LABlab(59.36, -6.53, 56.92)
CIE-LCHlch(59.36, 57.29, 96.54°)
OKLaboklab(64.74% -0.0245 0.1234)
OKLCHoklch(64.74% 0.126 101.2)
XYZxyz(24.5199, 27.4175, 5.2966)
Luminance0.2742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F901F #1F2E9F
analogous
#9F501F #9F901F #6E9F1F
triadic
#9F901F #1F9F90 #901F9F
tetradic
#9F901F #1F9F50 #1F2E9F #9F1F6E
square
#9F901F #1F9F50 #1F2E9F #9F1F6E
split-complementary
#9F901F #1F6E9F #501F9F
monochromatic
#39330B #6C6215 #9F901F #D2BE29 #DFCF5A

Accessibility & contrast

On white

3.24
#9F901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#9F901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F901F
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F901F#FFFFFF#000000##000000
##9F901F1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C00
Deuteranopia (green-blind)
#A39228
Tritanopia (blue-blind)
#AC857B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9f901f;
/* rgb */ color: rgb(159, 144, 31);
/* oklch */ color: oklch(64.7% 0.126 101.2);
Tailwind
colors: {
  custom: {
    50: '#bfb066',
    500: '#9f901f',
    950: '#000000',
  },
}
SCSS
$custom: #9f901f;
$custom-light: #bfb066;
$custom-dark: #000000;
JSON
{
  "hex": "#9f901f",
  "rgb": {
    "r": 159,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 52.969,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64743,
    "c": 0.12584,
    "h": 101.2
  },
  "luminance": 0.27416
}

Semantic roles & 50–950 ramp

primary
#9F901F
secondary
#5764C3
accent
#52EA3E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F901F

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

Preview Lab → · Contrast checker → · Palette generator →

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