#9FA533#9FA533

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

Color values

HEX#9FA533
RGBrgb(159, 165, 51)
HSLhsl(63, 53%, 42%)
HSVhsv(63, 69%, 65%)
CMYKcmyk(3.6%, 0%, 69.1%, 35.3%)
CIE-LABlab(65.37, -16.67, 55.50)
CIE-LCHlch(65.37, 57.94, 106.72°)
OKLaboklab(69.58% -0.0511 0.1241)
OKLCHoklch(69.58% 0.134 112.4)
XYZxyz(28.3516, 34.5209, 8.3010)
Luminance0.3452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA533 #3933A5
analogous
#A57233 #9FA533 #66A533
triadic
#9FA533 #339FA5 #A5339F
tetradic
#9FA533 #33A572 #3933A5 #A53366
square
#9FA533 #33A572 #3933A5 #A53366
split-complementary
#9FA533 #3366A5 #7233A5
monochromatic
#454816 #727625 #9FA533 #C2C84D #D2D67C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA533#FFFFFF#000000##000000
##9FA5331.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)
#B19D21
Deuteranopia (green-blind)
#B2A03B
Tritanopia (blue-blind)
#AA9B8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa533;
/* rgb */ color: rgb(159, 165, 51);
/* oklch */ color: oklch(69.6% 0.134 112.4);
Tailwind
colors: {
  custom: {
    50: '#bebf72',
    500: '#9fa533',
    950: '#000000',
  },
}
SCSS
$custom: #9fa533;
$custom-light: #bebf72;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa533",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 51
  },
  "hsl": {
    "h": 63.158,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69577,
    "c": 0.13423,
    "h": 112.4
  },
  "luminance": 0.3452
}

Semantic roles & 50–950 ramp

primary
#9FA533
secondary
#7875BF
accent
#4CDC53
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA533

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

Preview Lab → · Contrast checker → · Palette generator →

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