#9FB326#9FB326

#9FB326 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.7% C 0.157 H 117.8°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#9FB326
RGBrgb(159, 179, 38)
HSLhsl(69, 65%, 43%)
HSVhsv(69, 79%, 70%)
CMYKcmyk(11.2%, 0%, 78.8%, 29.8%)
CIE-LABlab(69.29, -24.32, 63.69)
CIE-LCHlch(69.29, 68.18, 110.90°)
OKLaboklab(72.7% -0.0734 0.1392)
OKLCHoklch(72.7% 0.157 117.8)
XYZxyz(30.7688, 39.7514, 7.8852)
Luminance0.3975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB326 #3A26B3
analogous
#B38126 #9FB326 #58B326
triadic
#9FB326 #269FB3 #B3269F
tetradic
#9FB326 #26B381 #3A26B3 #B32658
square
#9FB326 #26B381 #3A26B3 #B32658
split-complementary
#9FB326 #2658B3 #8126B3
monochromatic
#454E11 #72811B #9FB326 #C1D640 #D1E172

Accessibility & contrast

On white

2.35
#9FB326 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#9FB326 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB326
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB326#FFFFFF#000000##000000
##9FB3261.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA900
Deuteranopia (green-blind)
#BDAA34
Tritanopia (blue-blind)
#A9A999
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fb326;
/* rgb */ color: rgb(159, 179, 38);
/* oklch */ color: oklch(72.7% 0.157 117.8);
Tailwind
colors: {
  custom: {
    50: '#bfc96d',
    500: '#9fb326',
    950: '#000000',
  },
}
SCSS
$custom: #9fb326;
$custom-light: #bfc96d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb326",
  "rgb": {
    "r": 159,
    "g": 179,
    "b": 38
  },
  "hsl": {
    "h": 68.511,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.72697,
    "c": 0.15738,
    "h": 117.8
  },
  "luminance": 0.39751
}

Semantic roles & 50–950 ramp

primary
#9FB326
secondary
#7A6DC8
accent
#40E858
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9FB326

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

Preview Lab → · Contrast checker → · Palette generator →

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