#9FA026#9FA026

#9FA026 is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.4% C 0.137 H 110.0°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#9FA026
RGBrgb(159, 160, 38)
HSLhsl(60, 62%, 39%)
HSVhsv(60, 76%, 63%)
CMYKcmyk(0.6%, 0%, 76.3%, 37.3%)
CIE-LABlab(63.88, -14.73, 58.76)
CIE-LCHlch(63.88, 60.57, 104.08°)
OKLaboklab(68.36% -0.0469 0.1287)
OKLCHoklch(68.36% 0.137 110)
XYZxyz(27.2197, 32.6533, 6.7022)
Luminance0.3265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA026 #2726A0
analogous
#A06426 #9FA026 #62A026
triadic
#9FA026 #269FA0 #A0269F
tetradic
#9FA026 #26A064 #2726A0 #A02662
square
#9FA026 #26A064 #2726A0 #A02662
split-complementary
#9FA026 #2662A0 #6426A0
monochromatic
#3D3D0F #6E6F1A #9FA026 #CECF34 #DADB66

Accessibility & contrast

On white

2.79
#9FA026 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#9FA026 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA026
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA026#FFFFFF#000000##000000
##9FA0261.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9907
Deuteranopia (green-blind)
#AE9C30
Tritanopia (blue-blind)
#AB9689
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa026;
/* rgb */ color: rgb(159, 160, 38);
/* oklch */ color: oklch(68.4% 0.137 110.0);
Tailwind
colors: {
  custom: {
    50: '#bfbb6b',
    500: '#9fa026',
    950: '#000000',
  },
}
SCSS
$custom: #9fa026;
$custom-light: #bfbb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa026",
  "rgb": {
    "r": 159,
    "g": 160,
    "b": 38
  },
  "hsl": {
    "h": 60.492,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.68356,
    "c": 0.13698,
    "h": 110
  },
  "luminance": 0.32652
}

Semantic roles & 50–950 ramp

primary
#9FA026
secondary
#6261C0
accent
#43E544
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9FA026

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

Preview Lab → · Contrast checker → · Palette generator →

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