#9FA935#9FA935

#9FA935 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.5% C 0.137 H 114.2°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#9FA935
RGBrgb(159, 169, 53)
HSLhsl(65, 52%, 44%)
HSVhsv(65, 69%, 66%)
CMYKcmyk(5.9%, 0%, 68.6%, 33.7%)
CIE-LABlab(66.52, -18.60, 55.87)
CIE-LCHlch(66.52, 58.88, 108.41°)
OKLaboklab(70.5% -0.0562 0.1253)
OKLCHoklch(70.5% 0.137 114.2)
XYZxyz(29.1294, 36.0044, 8.7825)
Luminance0.3600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA935 #3F35A9
analogous
#A97935 #9FA935 #65A935
triadic
#9FA935 #359FA9 #A9359F
tetradic
#9FA935 #35A979 #3F35A9 #A93565
square
#9FA935 #35A979 #3F35A9 #A93565
split-complementary
#9FA935 #3565A9 #7935A9
monochromatic
#474C18 #737A26 #9FA935 #BFC952 #D0D781

Accessibility & contrast

On white

2.56
#9FA935 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#9FA935 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA935
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA935#FFFFFF#000000##000000
##9FA9351.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A123
Deuteranopia (green-blind)
#B5A33E
Tritanopia (blue-blind)
#A99F92
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9fa935;
/* rgb */ color: rgb(159, 169, 53);
/* oklch */ color: oklch(70.5% 0.137 114.2);
Tailwind
colors: {
  custom: {
    50: '#bec273',
    500: '#9fa935',
    950: '#000000',
  },
}
SCSS
$custom: #9fa935;
$custom-light: #bec273;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa935",
  "rgb": {
    "r": 159,
    "g": 169,
    "b": 53
  },
  "hsl": {
    "h": 65.172,
    "s": 52.252,
    "l": 43.529
  },
  "oklch": {
    "l": 0.70502,
    "c": 0.13731,
    "h": 114.2
  },
  "luminance": 0.36004
}

Semantic roles & 50–950 ramp

primary
#9FA935
secondary
#7F79C1
accent
#4CDC58
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9FA935

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

Preview Lab → · Contrast checker → · Palette generator →

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