#9FA326#9FA326

#9FA326 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.0% C 0.140 H 111.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#9FA326
RGBrgb(159, 163, 38)
HSLhsl(62, 62%, 39%)
HSVhsv(62, 77%, 64%)
CMYKcmyk(2.5%, 0%, 76.7%, 36.1%)
CIE-LABlab(64.73, -16.28, 59.54)
CIE-LCHlch(64.73, 61.72, 105.30°)
OKLaboklab(69.04% -0.0512 0.1304)
OKLCHoklch(69.04% 0.14 111.4)
XYZxyz(27.7461, 33.7060, 6.8777)
Luminance0.3371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA326 #2A26A3
analogous
#A36926 #9FA326 #61A326
triadic
#9FA326 #269FA3 #A3269F
tetradic
#9FA326 #26A369 #2A26A3 #A32661
square
#9FA326 #26A369 #2A26A3 #A32661
split-complementary
#9FA326 #2661A3 #6926A3
monochromatic
#3E400F #6F711A #9FA326 #CBD036 #D8DC68

Accessibility & contrast

On white

2.71
#9FA326 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#9FA326 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA326
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA326#FFFFFF#000000##000000
##9FA3261.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B05
Deuteranopia (green-blind)
#B19F31
Tritanopia (blue-blind)
#AA998C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa326;
/* rgb */ color: rgb(159, 163, 38);
/* oklch */ color: oklch(69.0% 0.140 111.4);
Tailwind
colors: {
  custom: {
    50: '#bfbe6b',
    500: '#9fa326',
    950: '#000000',
  },
}
SCSS
$custom: #9fa326;
$custom-light: #bfbe6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa326",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 38
  },
  "hsl": {
    "h": 61.92,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69035,
    "c": 0.14006,
    "h": 111.4
  },
  "luminance": 0.33705
}

Semantic roles & 50–950 ramp

primary
#9FA326
secondary
#6663C2
accent
#43E548
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA326

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

Preview Lab → · Contrast checker → · Palette generator →

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