#9FA926#9FA926

#9FA926 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.4% C 0.146 H 114.1°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#9FA926
RGBrgb(159, 169, 38)
HSLhsl(65, 63%, 41%)
HSVhsv(65, 78%, 66%)
CMYKcmyk(5.9%, 0%, 77.5%, 33.7%)
CIE-LABlab(66.43, -19.34, 61.10)
CIE-LCHlch(66.43, 64.09, 107.57°)
OKLaboklab(70.4% -0.0597 0.1337)
OKLCHoklch(70.4% 0.146 114.1)
XYZxyz(28.8368, 35.8874, 7.2412)
Luminance0.3589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA926 #3026A9
analogous
#A97126 #9FA926 #5DA926
triadic
#9FA926 #269FA9 #A9269F
tetradic
#9FA926 #26A971 #3026A9 #A9265D
square
#9FA926 #26A971 #3026A9 #A9265D
split-complementary
#9FA926 #265DA9 #7126A9
monochromatic
#414510 #70771B #9FA926 #C7D33A #D5DE6C

Accessibility & contrast

On white

2.57
#9FA926 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#9FA926 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA926
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA926#FFFFFF#000000##000000
##9FA9261.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B5A332
Tritanopia (blue-blind)
#AA9F91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9fa926;
/* rgb */ color: rgb(159, 169, 38);
/* oklch */ color: oklch(70.4% 0.146 114.1);
Tailwind
colors: {
  custom: {
    50: '#bfc26c',
    500: '#9fa926',
    950: '#000000',
  },
}
SCSS
$custom: #9fa926;
$custom-light: #bfc26c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa926",
  "rgb": {
    "r": 159,
    "g": 169,
    "b": 38
  },
  "hsl": {
    "h": 64.58,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70401,
    "c": 0.1464,
    "h": 114.1
  },
  "luminance": 0.35887
}

Semantic roles & 50–950 ramp

primary
#9FA926
secondary
#6E67C4
accent
#41E64E
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA926

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

Preview Lab → · Contrast checker → · Palette generator →

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