#9FA836#9FA836

#9FA836 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.3% C 0.135 H 113.7°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#9FA836
RGBrgb(159, 168, 54)
HSLhsl(65, 51%, 44%)
HSVhsv(65, 68%, 66%)
CMYKcmyk(5.4%, 0%, 67.9%, 34.1%)
CIE-LABlab(66.25, -18.03, 55.19)
CIE-LCHlch(66.25, 58.06, 108.09°)
OKLaboklab(70.28% -0.0546 0.124)
OKLCHoklch(70.28% 0.135 113.7)
XYZxyz(28.9674, 35.6431, 8.8432)
Luminance0.3564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA836 #3F36A8
analogous
#A87836 #9FA836 #66A836
triadic
#9FA836 #369FA8 #A8369F
tetradic
#9FA836 #36A878 #3F36A8 #A83666
square
#9FA836 #36A878 #3F36A8 #A83666
split-complementary
#9FA836 #3666A8 #7836A8
monochromatic
#474B18 #737A27 #9FA836 #BFC853 #D0D782

Accessibility & contrast

On white

2.58
#9FA836 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#9FA836 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA836
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA836#FFFFFF#000000##000000
##9FA8361.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A025
Deuteranopia (green-blind)
#B4A23E
Tritanopia (blue-blind)
#A99E91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa836;
/* rgb */ color: rgb(159, 168, 54);
/* oklch */ color: oklch(70.3% 0.135 113.7);
Tailwind
colors: {
  custom: {
    50: '#bec174',
    500: '#9fa836',
    950: '#000000',
  },
}
SCSS
$custom: #9fa836;
$custom-light: #bec174;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa836",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 54
  },
  "hsl": {
    "h": 64.737,
    "s": 51.351,
    "l": 43.529
  },
  "oklch": {
    "l": 0.70282,
    "c": 0.13547,
    "h": 113.7
  },
  "luminance": 0.35643
}

Semantic roles & 50–950 ramp

primary
#9FA836
secondary
#7F7AC0
accent
#4DDB58
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA836

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

Preview Lab → · Contrast checker → · Palette generator →

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