#9FA335#9FA335

#9FA335 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.1% C 0.131 H 111.4°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#9FA335
RGBrgb(159, 163, 53)
HSLhsl(62, 51%, 42%)
HSVhsv(62, 67%, 64%)
CMYKcmyk(2.5%, 0%, 67.5%, 36.1%)
CIE-LABlab(64.82, -15.52, 54.14)
CIE-LCHlch(64.82, 56.32, 106.00°)
OKLaboklab(69.14% -0.0476 0.1216)
OKLCHoklch(69.14% 0.131 111.4)
XYZxyz(28.0387, 33.8230, 8.4190)
Luminance0.3382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA335 #3935A3
analogous
#A37035 #9FA335 #68A335
triadic
#9FA335 #359FA3 #A3359F
tetradic
#9FA335 #35A370 #3935A3 #A33568
square
#9FA335 #35A370 #3935A3 #A33568
split-complementary
#9FA335 #3568A3 #7035A3
monochromatic
#454717 #727526 #9FA335 #C2C64F #D2D57E

Accessibility & contrast

On white

2.70
#9FA335 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#9FA335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA335
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA335#FFFFFF#000000##000000
##9FA3351.002.707.767.76
#FFFFFF2.701.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C25
Deuteranopia (green-blind)
#B09F3D
Tritanopia (blue-blind)
#AA998D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa335;
/* rgb */ color: rgb(159, 163, 53);
/* oklch */ color: oklch(69.1% 0.131 111.4);
Tailwind
colors: {
  custom: {
    50: '#bebe73',
    500: '#9fa335',
    950: '#000000',
  },
}
SCSS
$custom: #9fa335;
$custom-light: #bebe73;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa335",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 53
  },
  "hsl": {
    "h": 62.182,
    "s": 50.926,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6914,
    "c": 0.13063,
    "h": 111.4
  },
  "luminance": 0.33822
}

Semantic roles & 50–950 ramp

primary
#9FA335
secondary
#7876BE
accent
#4DDA53
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9FA335

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

Preview Lab → · Contrast checker → · Palette generator →

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