#9FA031#9FA031

#9FA031 is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.4% C 0.130 H 109.9°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#9FA031
RGBrgb(159, 160, 49)
HSLhsl(61, 53%, 41%)
HSVhsv(61, 69%, 63%)
CMYKcmyk(0.6%, 0%, 69.4%, 37.3%)
CIE-LABlab(63.95, -14.20, 54.85)
CIE-LCHlch(63.95, 56.66, 104.51°)
OKLaboklab(68.43% -0.0443 0.1224)
OKLCHoklch(68.43% 0.13 109.9)
XYZxyz(27.4242, 32.7351, 7.7790)
Luminance0.3273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA031 #3231A0
analogous
#A06931 #9FA031 #67A031
triadic
#9FA031 #319FA0 #A0319F
tetradic
#9FA031 #31A069 #3231A0 #A03167
square
#9FA031 #31A069 #3231A0 #A03167
split-complementary
#9FA031 #3167A0 #6931A0
monochromatic
#424214 #707123 #9FA031 #C6C747 #D4D576

Accessibility & contrast

On white

2.78
#9FA031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#9FA031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA031
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA031#FFFFFF#000000##000000
##9FA0311.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991F
Deuteranopia (green-blind)
#AE9D39
Tritanopia (blue-blind)
#AA968A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa031;
/* rgb */ color: rgb(159, 160, 49);
/* oklch */ color: oklch(68.4% 0.130 109.9);
Tailwind
colors: {
  custom: {
    50: '#bebb70',
    500: '#9fa031',
    950: '#000000',
  },
}
SCSS
$custom: #9fa031;
$custom-light: #bebb70;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa031",
  "rgb": {
    "r": 159,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 60.541,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68431,
    "c": 0.13022,
    "h": 109.9
  },
  "luminance": 0.32734
}

Semantic roles & 50–950 ramp

primary
#9FA031
secondary
#7070BD
accent
#4BDD4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #9FA031

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

Preview Lab → · Contrast checker → · Palette generator →

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