#9FA928#9FA928

#9FA928 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#9FA928
RGBrgb(159, 169, 40)
HSLhsl(65, 62%, 41%)
HSVhsv(65, 76%, 66%)
CMYKcmyk(5.9%, 0%, 76.3%, 33.7%)
CIE-LABlab(66.44, -19.26, 60.47)
CIE-LCHlch(66.44, 63.46, 107.67°)
OKLaboklab(70.41% -0.0593 0.1327)
OKLCHoklch(70.41% 0.145 114.1)
XYZxyz(28.8699, 35.9006, 7.4158)
Luminance0.3590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA928 #3228A9
analogous
#A97228 #9FA928 #5EA928
triadic
#9FA928 #289FA9 #A9289F
tetradic
#9FA928 #28A972 #3228A9 #A9285E
square
#9FA928 #28A972 #3228A9 #A9285E
split-complementary
#9FA928 #285EA9 #7228A9
monochromatic
#424611 #70781C #9FA928 #C6D13D #D4DD6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA928#FFFFFF#000000##000000
##9FA9281.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)
#B6A006
Deuteranopia (green-blind)
#B5A333
Tritanopia (blue-blind)
#AA9F91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9fa928;
/* rgb */ color: rgb(159, 169, 40);
/* oklch */ color: oklch(70.4% 0.145 114.1);
Tailwind
colors: {
  custom: {
    50: '#bfc26d',
    500: '#9fa928',
    950: '#000000',
  },
}
SCSS
$custom: #9fa928;
$custom-light: #bfc26d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa928",
  "rgb": {
    "r": 159,
    "g": 169,
    "b": 40
  },
  "hsl": {
    "h": 64.651,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70413,
    "c": 0.14535,
    "h": 114.1
  },
  "luminance": 0.359
}

Semantic roles & 50–950 ramp

primary
#9FA928
secondary
#7069C4
accent
#43E550
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA928

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

Preview Lab → · Contrast checker → · Palette generator →

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