#9FA336#9FA336

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

Color values

HEX#9FA336
RGBrgb(159, 163, 54)
HSLhsl(62, 50%, 43%)
HSVhsv(62, 67%, 64%)
CMYKcmyk(2.5%, 0%, 66.9%, 36.1%)
CIE-LABlab(64.83, -15.46, 53.75)
CIE-LCHlch(64.83, 55.93, 106.05°)
OKLaboklab(69.15% -0.0474 0.121)
OKLCHoklch(69.15% 0.13 111.4)
XYZxyz(28.0620, 33.8323, 8.5414)
Luminance0.3383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA336 #3A36A3
analogous
#A37136 #9FA336 #68A336
triadic
#9FA336 #369FA3 #A3369F
tetradic
#9FA336 #36A371 #3A36A3 #A33668
square
#9FA336 #36A371 #3A36A3 #A33668
split-complementary
#9FA336 #3668A3 #7136A3
monochromatic
#454718 #727527 #9FA336 #C1C551 #D1D57F

Accessibility & contrast

On white

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

On black

7.77
#9FA336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA336
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA336#FFFFFF#000000##000000
##9FA3361.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fa336;
/* rgb */ color: rgb(159, 163, 54);
/* oklch */ color: oklch(69.1% 0.130 111.4);
Tailwind
colors: {
  custom: {
    50: '#bebe73',
    500: '#9fa336',
    950: '#000000',
  },
}
SCSS
$custom: #9fa336;
$custom-light: #bebe73;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa336",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 54
  },
  "hsl": {
    "h": 62.202,
    "s": 50.23,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69148,
    "c": 0.1299,
    "h": 111.4
  },
  "luminance": 0.33832
}

Semantic roles & 50–950 ramp

primary
#9FA336
secondary
#7A77BE
accent
#4EDA53
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9FA336

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

Preview Lab → · Contrast checker → · Palette generator →

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