#9FA52D#9FA52D

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

Color values

HEX#9FA52D
RGBrgb(159, 165, 45)
HSLhsl(63, 57%, 41%)
HSVhsv(63, 73%, 65%)
CMYKcmyk(3.6%, 0%, 72.7%, 35.3%)
CIE-LABlab(65.33, -16.99, 57.71)
CIE-LCHlch(65.33, 60.16, 106.40°)
OKLaboklab(69.53% -0.0525 0.1278)
OKLCHoklch(69.53% 0.138 112.4)
XYZxyz(28.2278, 34.4713, 7.6488)
Luminance0.3447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA52D #332DA5
analogous
#A56F2D #9FA52D #63A52D
triadic
#9FA52D #2D9FA5 #A52D9F
tetradic
#9FA52D #2DA56F #332DA5 #A52D63
square
#9FA52D #2DA56F #332DA5 #A52D63
split-complementary
#9FA52D #2D63A5 #6F2DA5
monochromatic
#424513 #717520 #9FA52D #C5CC43 #D4D973

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA52D#FFFFFF#000000##000000
##9FA52D1.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)
#B29D16
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#AA9B8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa52d;
/* rgb */ color: rgb(159, 165, 45);
/* oklch */ color: oklch(69.5% 0.138 112.4);
Tailwind
colors: {
  custom: {
    50: '#bfbf6f',
    500: '#9fa52d',
    950: '#000000',
  },
}
SCSS
$custom: #9fa52d;
$custom-light: #bfbf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa52d",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 45
  },
  "hsl": {
    "h": 63,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69533,
    "c": 0.13815,
    "h": 112.4
  },
  "luminance": 0.34471
}

Semantic roles & 50–950 ramp

primary
#9FA52D
secondary
#716DC1
accent
#47E04F
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA52D

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

Preview Lab → · Contrast checker → · Palette generator →

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