#9FA632#9FA632

#9FA632 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.8% C 0.136 H 112.8°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#9FA632
RGBrgb(159, 166, 50)
HSLhsl(64, 54%, 42%)
HSVhsv(64, 70%, 65%)
CMYKcmyk(4.2%, 0%, 69.9%, 34.9%)
CIE-LABlab(65.65, -17.24, 56.16)
CIE-LCHlch(65.65, 58.74, 107.06°)
OKLaboklab(69.8% -0.0527 0.1254)
OKLCHoklch(69.8% 0.136 112.8)
XYZxyz(28.5109, 34.8743, 8.2465)
Luminance0.3487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA632 #3932A6
analogous
#A67332 #9FA632 #65A632
triadic
#9FA632 #329FA6 #A6329F
tetradic
#9FA632 #32A673 #3932A6 #A63265
square
#9FA632 #32A673 #3932A6 #A63265
split-complementary
#9FA632 #3265A6 #7332A6
monochromatic
#454816 #727724 #9FA632 #C2C94C #D2D77B

Accessibility & contrast

On white

2.63
#9FA632 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#9FA632 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA632
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA632#FFFFFF#000000##000000
##9FA6321.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1F
Deuteranopia (green-blind)
#B3A13B
Tritanopia (blue-blind)
#AA9C8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa632;
/* rgb */ color: rgb(159, 166, 50);
/* oklch */ color: oklch(69.8% 0.136 112.8);
Tailwind
colors: {
  custom: {
    50: '#bec071',
    500: '#9fa632',
    950: '#000000',
  },
}
SCSS
$custom: #9fa632;
$custom-light: #bec071;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa632",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 50
  },
  "hsl": {
    "h": 63.621,
    "s": 53.704,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69796,
    "c": 0.13602,
    "h": 112.8
  },
  "luminance": 0.34874
}

Semantic roles & 50–950 ramp

primary
#9FA632
secondary
#7874C0
accent
#4BDD54
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA632

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

Preview Lab → · Contrast checker → · Palette generator →

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