#9FA328#9FA328

#9FA328 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.0% C 0.139 H 111.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#9FA328
RGBrgb(159, 163, 40)
HSLhsl(62, 61%, 40%)
HSVhsv(62, 75%, 64%)
CMYKcmyk(2.5%, 0%, 75.5%, 36.1%)
CIE-LABlab(64.74, -16.20, 58.89)
CIE-LCHlch(64.74, 61.07, 105.38°)
OKLaboklab(69.05% -0.0508 0.1294)
OKLCHoklch(69.05% 0.139 111.4)
XYZxyz(27.7792, 33.7192, 7.0522)
Luminance0.3372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA328 #2C28A3
analogous
#A36928 #9FA328 #62A328
triadic
#9FA328 #289FA3 #A3289F
tetradic
#9FA328 #28A369 #2C28A3 #A32862
square
#9FA328 #28A369 #2C28A3 #A32862
split-complementary
#9FA328 #2862A3 #6928A3
monochromatic
#3F4110 #6F721C #9FA328 #CACF3A #D7DB6B

Accessibility & contrast

On white

2.71
#9FA328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#9FA328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA328
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA328#FFFFFF#000000##000000
##9FA3281.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B0B
Deuteranopia (green-blind)
#B19F32
Tritanopia (blue-blind)
#AA998C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa328;
/* rgb */ color: rgb(159, 163, 40);
/* oklch */ color: oklch(69.0% 0.139 111.4);
Tailwind
colors: {
  custom: {
    50: '#bfbe6c',
    500: '#9fa328',
    950: '#000000',
  },
}
SCSS
$custom: #9fa328;
$custom-light: #bfbe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa328",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 40
  },
  "hsl": {
    "h": 61.951,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69047,
    "c": 0.13896,
    "h": 111.4
  },
  "luminance": 0.33719
}

Semantic roles & 50–950 ramp

primary
#9FA328
secondary
#6966C1
accent
#44E449
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA328

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

Preview Lab → · Contrast checker → · Palette generator →

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