#9FA529#9FA529

#9FA529 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.5% C 0.141 H 112.3°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#9FA529
RGBrgb(159, 165, 41)
HSLhsl(63, 60%, 40%)
HSVhsv(63, 75%, 65%)
CMYKcmyk(3.6%, 0%, 75.2%, 35.3%)
CIE-LABlab(65.31, -17.18, 59.08)
CIE-LCHlch(65.31, 61.53, 106.21°)
OKLaboklab(69.51% -0.0534 0.13)
OKLCHoklch(69.51% 0.141 112.3)
XYZxyz(28.1544, 34.4420, 7.2623)
Luminance0.3444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA529 #2F29A5
analogous
#A56D29 #9FA529 #61A529
triadic
#9FA529 #299FA5 #A5299F
tetradic
#9FA529 #29A56D #2F29A5 #A52961
square
#9FA529 #29A56D #2F29A5 #A52961
split-complementary
#9FA529 #2961A5 #6D29A5
monochromatic
#414311 #70741D #9FA529 #C8CF3D #D6DB6E

Accessibility & contrast

On white

2.66
#9FA529 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#9FA529 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA529
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA529#FFFFFF#000000##000000
##9FA5291.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D0D
Deuteranopia (green-blind)
#B2A033
Tritanopia (blue-blind)
#AA9B8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa529;
/* rgb */ color: rgb(159, 165, 41);
/* oklch */ color: oklch(69.5% 0.141 112.3);
Tailwind
colors: {
  custom: {
    50: '#bfbf6d',
    500: '#9fa529',
    950: '#000000',
  },
}
SCSS
$custom: #9fa529;
$custom-light: #bfbf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa529",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 41
  },
  "hsl": {
    "h": 62.903,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69507,
    "c": 0.14051,
    "h": 112.3
  },
  "luminance": 0.34441
}

Semantic roles & 50–950 ramp

primary
#9FA529
secondary
#6D68C2
accent
#44E34C
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA529

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

Preview Lab → · Contrast checker → · Palette generator →

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