#9FA535#9FA535

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

Color values

HEX#9FA535
RGBrgb(159, 165, 53)
HSLhsl(63, 51%, 43%)
HSVhsv(63, 68%, 65%)
CMYKcmyk(3.6%, 0%, 67.9%, 35.3%)
CIE-LABlab(65.39, -16.55, 54.72)
CIE-LCHlch(65.39, 57.17, 106.83°)
OKLaboklab(69.59% -0.0505 0.1228)
OKLCHoklch(69.59% 0.133 112.4)
XYZxyz(28.3966, 34.5389, 8.5383)
Luminance0.3454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA535 #3B35A5
analogous
#A57335 #9FA535 #67A535
triadic
#9FA535 #359FA5 #A5359F
tetradic
#9FA535 #35A573 #3B35A5 #A53567
square
#9FA535 #35A573 #3B35A5 #A53567
split-complementary
#9FA535 #3567A5 #7335A5
monochromatic
#464817 #727726 #9FA535 #C1C750 #D1D67F

Accessibility & contrast

On white

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

On black

7.91
#9FA535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA535
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA535#FFFFFF#000000##000000
##9FA5351.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D24
Deuteranopia (green-blind)
#B2A03D
Tritanopia (blue-blind)
#AA9B8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa535;
/* rgb */ color: rgb(159, 165, 53);
/* oklch */ color: oklch(69.6% 0.133 112.4);
Tailwind
colors: {
  custom: {
    50: '#bebf73',
    500: '#9fa535',
    950: '#000000',
  },
}
SCSS
$custom: #9fa535;
$custom-light: #bebf73;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa535",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 53
  },
  "hsl": {
    "h": 63.214,
    "s": 51.376,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69593,
    "c": 0.13283,
    "h": 112.4
  },
  "luminance": 0.34538
}

Semantic roles & 50–950 ramp

primary
#9FA535
secondary
#7B77BF
accent
#4DDB55
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9FA535

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

Preview Lab → · Contrast checker → · Palette generator →

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