#9FA52B#9FA52B

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

Color values

HEX#9FA52B
RGBrgb(159, 165, 43)
HSLhsl(63, 59%, 41%)
HSVhsv(63, 74%, 65%)
CMYKcmyk(3.6%, 0%, 73.9%, 35.3%)
CIE-LABlab(65.32, -17.09, 58.41)
CIE-LCHlch(65.32, 60.86, 106.31°)
OKLaboklab(69.52% -0.053 0.1289)
OKLCHoklch(69.52% 0.139 112.3)
XYZxyz(28.1902, 34.4563, 7.4508)
Luminance0.3446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA52B #312BA5
analogous
#A56E2B #9FA52B #62A52B
triadic
#9FA52B #2B9FA5 #A52B9F
tetradic
#9FA52B #2BA56E #312BA5 #A52B62
square
#9FA52B #2BA56E #312BA5 #A52B62
split-complementary
#9FA52B #2B62A5 #6E2BA5
monochromatic
#414412 #70741E #9FA52B #C6CD40 #D5DA71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA52B#FFFFFF#000000##000000
##9FA52B1.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)
#B29D12
Deuteranopia (green-blind)
#B2A035
Tritanopia (blue-blind)
#AA9B8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa52b;
/* rgb */ color: rgb(159, 165, 43);
/* oklch */ color: oklch(69.5% 0.139 112.3);
Tailwind
colors: {
  custom: {
    50: '#bfbf6e',
    500: '#9fa52b',
    950: '#000000',
  },
}
SCSS
$custom: #9fa52b;
$custom-light: #bfbf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa52b",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 43
  },
  "hsl": {
    "h": 62.951,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.6952,
    "c": 0.13936,
    "h": 112.3
  },
  "luminance": 0.34456
}

Semantic roles & 50–950 ramp

primary
#9FA52B
secondary
#6F6BC1
accent
#46E24E
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA52B

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

Preview Lab → · Contrast checker → · Palette generator →

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