#9FA530#9FA530

#9FA530 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.6% C 0.136 H 112.4°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#9FA530
RGBrgb(159, 165, 48)
HSLhsl(63, 55%, 42%)
HSVhsv(63, 71%, 65%)
CMYKcmyk(3.6%, 0%, 70.9%, 35.3%)
CIE-LABlab(65.35, -16.84, 56.62)
CIE-LCHlch(65.35, 59.07, 106.56°)
OKLaboklab(69.55% -0.0518 0.126)
OKLCHoklch(69.55% 0.136 112.4)
XYZxyz(28.2876, 34.4953, 7.9639)
Luminance0.3449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA530 #3630A5
analogous
#A57130 #9FA530 #65A530
triadic
#9FA530 #309FA5 #A5309F
tetradic
#9FA530 #30A571 #3630A5 #A53065
square
#9FA530 #30A571 #3630A5 #A53065
split-complementary
#9FA530 #3065A5 #7130A5
monochromatic
#444614 #717622 #9FA530 #C3CA48 #D3D878

Accessibility & contrast

On white

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

On black

7.90
#9FA530 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA530
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA530#FFFFFF#000000##000000
##9FA5301.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fa530;
/* rgb */ color: rgb(159, 165, 48);
/* oklch */ color: oklch(69.6% 0.136 112.4);
Tailwind
colors: {
  custom: {
    50: '#bfbf70',
    500: '#9fa530',
    950: '#000000',
  },
}
SCSS
$custom: #9fa530;
$custom-light: #bfbf70;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa530",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 48
  },
  "hsl": {
    "h": 63.077,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69554,
    "c": 0.13625,
    "h": 112.4
  },
  "luminance": 0.34495
}

Semantic roles & 50–950 ramp

primary
#9FA530
secondary
#7571C0
accent
#4ADE51
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA530

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

Preview Lab → · Contrast checker → · Palette generator →

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