#9FA536#9FA536

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

Color values

HEX#9FA536
RGBrgb(159, 165, 54)
HSLhsl(63, 51%, 43%)
HSVhsv(63, 67%, 65%)
CMYKcmyk(3.6%, 0%, 67.3%, 35.3%)
CIE-LABlab(65.40, -16.49, 54.32)
CIE-LCHlch(65.40, 56.77, 106.89°)
OKLaboklab(69.6% -0.0503 0.1222)
OKLCHoklch(69.6% 0.132 112.4)
XYZxyz(28.4199, 34.5482, 8.6607)
Luminance0.3455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA536 #3C36A5
analogous
#A57336 #9FA536 #68A536
triadic
#9FA536 #369FA5 #A5369F
tetradic
#9FA536 #36A573 #3C36A5 #A53668
square
#9FA536 #36A573 #3C36A5 #A53668
split-complementary
#9FA536 #3668A5 #7336A5
monochromatic
#464918 #737727 #9FA536 #C0C652 #D1D580

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA536#FFFFFF#000000##000000
##9FA5361.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)
#B19D26
Deuteranopia (green-blind)
#B2A03E
Tritanopia (blue-blind)
#AA9B8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa536;
/* rgb */ color: rgb(159, 165, 54);
/* oklch */ color: oklch(69.6% 0.132 112.4);
Tailwind
colors: {
  custom: {
    50: '#bebf73',
    500: '#9fa536',
    950: '#000000',
  },
}
SCSS
$custom: #9fa536;
$custom-light: #bebf73;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa536",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 54
  },
  "hsl": {
    "h": 63.243,
    "s": 50.685,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69601,
    "c": 0.1321,
    "h": 112.4
  },
  "luminance": 0.34548
}

Semantic roles & 50–950 ramp

primary
#9FA536
secondary
#7C78BF
accent
#4EDA55
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9FA536

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

Preview Lab → · Contrast checker → · Palette generator →

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