#9FA428#9FA428

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

Color values

HEX#9FA428
RGBrgb(159, 164, 40)
HSLhsl(62, 61%, 40%)
HSVhsv(62, 76%, 64%)
CMYKcmyk(3%, 0%, 75.6%, 35.7%)
CIE-LABlab(65.02, -16.71, 59.15)
CIE-LCHlch(65.02, 61.47, 105.78°)
OKLaboklab(69.27% -0.0522 0.1299)
OKLCHoklch(69.27% 0.14 111.9)
XYZxyz(27.9575, 34.0757, 7.1116)
Luminance0.3407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA428 #2D28A4
analogous
#A46B28 #9FA428 #61A428
triadic
#9FA428 #289FA4 #A4289F
tetradic
#9FA428 #28A46B #2D28A4 #A42861
square
#9FA428 #28A46B #2D28A4 #A42861
split-complementary
#9FA428 #2861A4 #6B28A4
monochromatic
#404210 #6F731C #9FA428 #C9CF3A #D7DB6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA428#FFFFFF#000000##000000
##9FA4281.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)
#B19C0A
Deuteranopia (green-blind)
#B19F32
Tritanopia (blue-blind)
#AA9A8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa428;
/* rgb */ color: rgb(159, 164, 40);
/* oklch */ color: oklch(69.3% 0.140 111.9);
Tailwind
colors: {
  custom: {
    50: '#bfbe6c',
    500: '#9fa428',
    950: '#000000',
  },
}
SCSS
$custom: #9fa428;
$custom-light: #bfbe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa428",
  "rgb": {
    "r": 159,
    "g": 164,
    "b": 40
  },
  "hsl": {
    "h": 62.419,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.69274,
    "c": 0.14001,
    "h": 111.9
  },
  "luminance": 0.34075
}

Semantic roles & 50–950 ramp

primary
#9FA428
secondary
#6A66C1
accent
#44E44A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA428

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

Preview Lab → · Contrast checker → · Palette generator →

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