#9FA430#9FA430

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

Color values

HEX#9FA430
RGBrgb(159, 164, 48)
HSLhsl(63, 55%, 42%)
HSVhsv(63, 71%, 64%)
CMYKcmyk(3%, 0%, 70.7%, 35.7%)
CIE-LABlab(65.07, -16.32, 56.35)
CIE-LCHlch(65.07, 58.66, 106.15°)
OKLaboklab(69.33% -0.0504 0.1254)
OKLCHoklch(69.33% 0.135 111.9)
XYZxyz(28.1079, 34.1359, 7.9040)
Luminance0.3413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA430 #3530A4
analogous
#A46F30 #9FA430 #65A430
triadic
#9FA430 #309FA4 #A4309F
tetradic
#9FA430 #30A46F #3530A4 #A43065
square
#9FA430 #30A46F #3530A4 #A43065
split-complementary
#9FA430 #3065A4 #6F30A4
monochromatic
#434514 #717522 #9FA430 #C4C948 #D3D777

Accessibility & contrast

On white

2.68
#9FA430 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#9FA430 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA430
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA430#FFFFFF#000000##000000
##9FA4301.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fa430;
/* rgb */ color: rgb(159, 164, 48);
/* oklch */ color: oklch(69.3% 0.135 111.9);
Tailwind
colors: {
  custom: {
    50: '#bfbe70',
    500: '#9fa430',
    950: '#000000',
  },
}
SCSS
$custom: #9fa430;
$custom-light: #bfbe70;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa430",
  "rgb": {
    "r": 159,
    "g": 164,
    "b": 48
  },
  "hsl": {
    "h": 62.586,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69327,
    "c": 0.13516,
    "h": 111.9
  },
  "luminance": 0.34135
}

Semantic roles & 50–950 ramp

primary
#9FA430
secondary
#7470BF
accent
#4ADE50
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA430

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

Preview Lab → · Contrast checker → · Palette generator →

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