#9FA929#9FA929

#9FA929 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.4% C 0.145 H 114.1°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#9FA929
RGBrgb(159, 169, 41)
HSLhsl(65, 61%, 41%)
HSVhsv(65, 76%, 66%)
CMYKcmyk(5.9%, 0%, 75.7%, 33.7%)
CIE-LABlab(66.45, -19.21, 60.15)
CIE-LCHlch(66.45, 63.14, 107.72°)
OKLaboklab(70.42% -0.0591 0.1322)
OKLCHoklch(70.42% 0.145 114.1)
XYZxyz(28.8871, 35.9075, 7.5065)
Luminance0.3591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA929 #3329A9
analogous
#A97329 #9FA929 #5FA929
triadic
#9FA929 #299FA9 #A9299F
tetradic
#9FA929 #29A973 #3329A9 #A9295F
square
#9FA929 #29A973 #3329A9 #A9295F
split-complementary
#9FA929 #295FA9 #7329A9
monochromatic
#424611 #71781D #9FA929 #C5D03F #D4DC70

Accessibility & contrast

On white

2.57
#9FA929 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#9FA929 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA929
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA929#FFFFFF#000000##000000
##9FA9291.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A00A
Deuteranopia (green-blind)
#B5A334
Tritanopia (blue-blind)
#AA9F91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9fa929;
/* rgb */ color: rgb(159, 169, 41);
/* oklch */ color: oklch(70.4% 0.145 114.1);
Tailwind
colors: {
  custom: {
    50: '#bfc26d',
    500: '#9fa929',
    950: '#000000',
  },
}
SCSS
$custom: #9fa929;
$custom-light: #bfc26d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa929",
  "rgb": {
    "r": 159,
    "g": 169,
    "b": 41
  },
  "hsl": {
    "h": 64.688,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.70419,
    "c": 0.14481,
    "h": 114.1
  },
  "luminance": 0.35907
}

Semantic roles & 50–950 ramp

primary
#9FA929
secondary
#716AC3
accent
#44E450
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA929

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

Preview Lab → · Contrast checker → · Palette generator →

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