#9FA826#9FA826

#9FA826 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.2% C 0.145 H 113.6°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#9FA826
RGBrgb(159, 168, 38)
HSLhsl(64, 63%, 40%)
HSVhsv(64, 77%, 66%)
CMYKcmyk(5.4%, 0%, 77.4%, 34.1%)
CIE-LABlab(66.15, -18.84, 60.84)
CIE-LCHlch(66.15, 63.69, 107.20°)
OKLaboklab(70.17% -0.0583 0.1331)
OKLCHoklch(70.17% 0.145 113.6)
XYZxyz(28.6515, 35.5167, 7.1795)
Luminance0.3552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA826 #2F26A8
analogous
#A87026 #9FA826 #5EA826
triadic
#9FA826 #269FA8 #A8269F
tetradic
#9FA826 #26A870 #2F26A8 #A8265E
square
#9FA826 #26A870 #2F26A8 #A8265E
split-complementary
#9FA826 #265EA8 #7026A8
monochromatic
#41440F #70761B #9FA826 #C8D239 #D6DE6B

Accessibility & contrast

On white

2.59
#9FA826 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#9FA826 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA826
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA826#FFFFFF#000000##000000
##9FA8261.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A001
Deuteranopia (green-blind)
#B5A232
Tritanopia (blue-blind)
#AA9E90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa826;
/* rgb */ color: rgb(159, 168, 38);
/* oklch */ color: oklch(70.2% 0.145 113.6);
Tailwind
colors: {
  custom: {
    50: '#bfc16c',
    500: '#9fa826',
    950: '#000000',
  },
}
SCSS
$custom: #9fa826;
$custom-light: #bfc16c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa826",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 38
  },
  "hsl": {
    "h": 64.154,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70173,
    "c": 0.14533,
    "h": 113.6
  },
  "luminance": 0.35516
}

Semantic roles & 50–950 ramp

primary
#9FA826
secondary
#6D66C4
accent
#42E64D
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA826

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

Preview Lab → · Contrast checker → · Palette generator →

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