#9FA635#9FA635

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

Color values

HEX#9FA635
RGBrgb(159, 166, 53)
HSLhsl(64, 52%, 43%)
HSVhsv(64, 68%, 65%)
CMYKcmyk(4.2%, 0%, 68.1%, 34.9%)
CIE-LABlab(65.67, -17.07, 55.01)
CIE-LCHlch(65.67, 57.59, 107.24°)
OKLaboklab(69.82% -0.052 0.1235)
OKLCHoklch(69.82% 0.134 112.8)
XYZxyz(28.5777, 34.9010, 8.5986)
Luminance0.3490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA635 #3C35A6
analogous
#A67435 #9FA635 #66A635
triadic
#9FA635 #359FA6 #A6359F
tetradic
#9FA635 #35A674 #3C35A6 #A63566
square
#9FA635 #35A674 #3C35A6 #A63566
split-complementary
#9FA635 #3566A6 #7435A6
monochromatic
#464917 #737826 #9FA635 #C0C751 #D1D67F

Accessibility & contrast

On white

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

On black

7.98
#9FA635 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA635
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA635#FFFFFF#000000##000000
##9FA6351.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fa635;
/* rgb */ color: rgb(159, 166, 53);
/* oklch */ color: oklch(69.8% 0.134 112.8);
Tailwind
colors: {
  custom: {
    50: '#bec073',
    500: '#9fa635',
    950: '#000000',
  },
}
SCSS
$custom: #9fa635;
$custom-light: #bec073;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa635",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 53
  },
  "hsl": {
    "h": 63.717,
    "s": 51.598,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69819,
    "c": 0.13394,
    "h": 112.8
  },
  "luminance": 0.349
}

Semantic roles & 50–950 ramp

primary
#9FA635
secondary
#7C77BF
accent
#4DDB56
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9FA635

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

Preview Lab → · Contrast checker → · Palette generator →

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