#9FA429#9FA429

#9FA429 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.3% C 0.139 H 111.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#9FA429
RGBrgb(159, 164, 41)
HSLhsl(62, 60%, 40%)
HSVhsv(62, 75%, 64%)
CMYKcmyk(3%, 0%, 75%, 35.7%)
CIE-LABlab(65.03, -16.67, 58.82)
CIE-LCHlch(65.03, 61.13, 105.82°)
OKLaboklab(69.28% -0.052 0.1294)
OKLCHoklch(69.28% 0.139 111.9)
XYZxyz(27.9747, 34.0826, 7.2024)
Luminance0.3408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA429 #2E29A4
analogous
#A46B29 #9FA429 #61A429
triadic
#9FA429 #299FA4 #A4299F
tetradic
#9FA429 #29A46B #2E29A4 #A42961
square
#9FA429 #29A46B #2E29A4 #A42961
split-complementary
#9FA429 #2961A4 #6B29A4
monochromatic
#404211 #70731D #9FA429 #C8CE3C #D6DA6D

Accessibility & contrast

On white

2.69
#9FA429 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#9FA429 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA429
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA429#FFFFFF#000000##000000
##9FA4291.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C0D
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#AA9A8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa429;
/* rgb */ color: rgb(159, 164, 41);
/* oklch */ color: oklch(69.3% 0.139 111.9);
Tailwind
colors: {
  custom: {
    50: '#bfbe6d',
    500: '#9fa429',
    950: '#000000',
  },
}
SCSS
$custom: #9fa429;
$custom-light: #bfbe6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa429",
  "rgb": {
    "r": 159,
    "g": 164,
    "b": 41
  },
  "hsl": {
    "h": 62.439,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.6928,
    "c": 0.13945,
    "h": 111.9
  },
  "luminance": 0.34082
}

Semantic roles & 50–950 ramp

primary
#9FA429
secondary
#6B68C1
accent
#45E34B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA429

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

Preview Lab → · Contrast checker → · Palette generator →

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