#9FA534#9FA534

#9FA534 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.91:1 contrast (WCAG AA passes).

Color values

HEX#9FA534
RGBrgb(159, 165, 52)
HSLhsl(63, 52%, 43%)
HSVhsv(63, 68%, 65%)
CMYKcmyk(3.6%, 0%, 68.5%, 35.3%)
CIE-LABlab(65.38, -16.61, 55.11)
CIE-LCHlch(65.38, 57.56, 106.78°)
OKLaboklab(69.58% -0.0508 0.1235)
OKLCHoklch(69.58% 0.134 112.4)
XYZxyz(28.3739, 34.5298, 8.4184)
Luminance0.3453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA534 #3A34A5
analogous
#A57334 #9FA534 #66A534
triadic
#9FA534 #349FA5 #A5349F
tetradic
#9FA534 #34A573 #3A34A5 #A53466
square
#9FA534 #34A573 #3A34A5 #A53466
split-complementary
#9FA534 #3466A5 #7334A5
monochromatic
#454817 #727625 #9FA534 #C1C74F #D1D67D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA534#FFFFFF#000000##000000
##9FA5341.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)
#B19D23
Deuteranopia (green-blind)
#B2A03C
Tritanopia (blue-blind)
#AA9B8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa534;
/* rgb */ color: rgb(159, 165, 52);
/* oklch */ color: oklch(69.6% 0.134 112.4);
Tailwind
colors: {
  custom: {
    50: '#bebf72',
    500: '#9fa534',
    950: '#000000',
  },
}
SCSS
$custom: #9fa534;
$custom-light: #bebf72;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa534",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 52
  },
  "hsl": {
    "h": 63.186,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69585,
    "c": 0.13354,
    "h": 112.4
  },
  "luminance": 0.34529
}

Semantic roles & 50–950 ramp

primary
#9FA534
secondary
#7A76BF
accent
#4CDC54
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9FA534

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

Preview Lab → · Contrast checker → · Palette generator →

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