#9FA015#9FA015

#9FA015 is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.3% C 0.144 H 110.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#9FA015
RGBrgb(159, 160, 21)
HSLhsl(60, 77%, 35%)
HSVhsv(60, 87%, 63%)
CMYKcmyk(0.6%, 0%, 86.9%, 37.3%)
CIE-LABlab(63.81, -15.30, 63.35)
CIE-LCHlch(63.81, 65.17, 103.58°)
OKLaboklab(68.28% -0.0497 0.1355)
OKLCHoklch(68.28% 0.144 110.1)
XYZxyz(27.0053, 32.5675, 5.5729)
Luminance0.3257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA015 #1615A0
analogous
#A05C15 #9FA015 #59A015
triadic
#9FA015 #159FA0 #A0159F
tetradic
#9FA015 #15A05C #1615A0 #A01559
square
#9FA015 #15A05C #1615A0 #A01559
split-complementary
#9FA015 #1559A0 #5C15A0
monochromatic
#333407 #696A0E #9FA015 #D5D61C #E6E748

Accessibility & contrast

On white

2.80
#9FA015 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#9FA015 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA015
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA015#FFFFFF#000000##000000
##9FA0151.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AF9C25
Tritanopia (blue-blind)
#AB9588
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa015;
/* rgb */ color: rgb(159, 160, 21);
/* oklch */ color: oklch(68.3% 0.144 110.1);
Tailwind
colors: {
  custom: {
    50: '#bfbb64',
    500: '#9fa015',
    950: '#000000',
  },
}
SCSS
$custom: #9fa015;
$custom-light: #bfbb64;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa015",
  "rgb": {
    "r": 159,
    "g": 160,
    "b": 21
  },
  "hsl": {
    "h": 60.432,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.68278,
    "c": 0.14436,
    "h": 110.1
  },
  "luminance": 0.32567
}

Semantic roles & 50–950 ramp

primary
#9FA015
secondary
#4A49C8
accent
#34F336
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9FA015

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

Preview Lab → · Contrast checker → · Palette generator →

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