#9FA52C#9FA52C

#9FA52C is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.5% C 0.139 H 112.4°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#9FA52C
RGBrgb(159, 165, 44)
HSLhsl(63, 58%, 41%)
HSVhsv(63, 73%, 65%)
CMYKcmyk(3.6%, 0%, 73.3%, 35.3%)
CIE-LABlab(65.33, -17.04, 58.06)
CIE-LCHlch(65.33, 60.51, 106.35°)
OKLaboklab(69.53% -0.0528 0.1283)
OKLCHoklch(69.53% 0.139 112.4)
XYZxyz(28.2087, 34.4637, 7.5486)
Luminance0.3446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA52C #322CA5
analogous
#A56E2C #9FA52C #62A52C
triadic
#9FA52C #2C9FA5 #A52C9F
tetradic
#9FA52C #2CA56E #322CA5 #A52C62
square
#9FA52C #2CA56E #322CA5 #A52C62
split-complementary
#9FA52C #2C62A5 #6E2CA5
monochromatic
#424412 #70751F #9FA52C #C6CD42 #D4D972

Accessibility & contrast

On white

2.66
#9FA52C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#9FA52C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA52C
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA52C#FFFFFF#000000##000000
##9FA52C1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D14
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#AA9B8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa52c;
/* rgb */ color: rgb(159, 165, 44);
/* oklch */ color: oklch(69.5% 0.139 112.4);
Tailwind
colors: {
  custom: {
    50: '#bfbf6e',
    500: '#9fa52c',
    950: '#000000',
  },
}
SCSS
$custom: #9fa52c;
$custom-light: #bfbf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa52c",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 44
  },
  "hsl": {
    "h": 62.975,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69526,
    "c": 0.13876,
    "h": 112.4
  },
  "luminance": 0.34463
}

Semantic roles & 50–950 ramp

primary
#9FA52C
secondary
#706CC1
accent
#47E14E
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA52C

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

Preview Lab → · Contrast checker → · Palette generator →

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