#9FA92D#9FA92D

#9FA92D is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.4% C 0.142 H 114.1°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#9FA92D
RGBrgb(159, 169, 45)
HSLhsl(65, 58%, 42%)
HSVhsv(65, 73%, 66%)
CMYKcmyk(5.9%, 0%, 73.4%, 33.7%)
CIE-LABlab(66.47, -19.03, 58.80)
CIE-LCHlch(66.47, 61.80, 107.93°)
OKLaboklab(70.44% -0.0582 0.1301)
OKLCHoklch(70.44% 0.143 114.1)
XYZxyz(28.9605, 35.9369, 7.8930)
Luminance0.3594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA92D #372DA9
analogous
#A9752D #9FA92D #61A92D
triadic
#9FA92D #2D9FA9 #A92D9F
tetradic
#9FA92D #2DA975 #372DA9 #A92D61
square
#9FA92D #2DA975 #372DA9 #A92D61
split-complementary
#9FA92D #2D61A9 #752DA9
monochromatic
#444813 #727920 #9FA92D #C3CE46 #D2DA76

Accessibility & contrast

On white

2.56
#9FA92D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#9FA92D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA92D
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA92D#FFFFFF#000000##000000
##9FA92D1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A114
Deuteranopia (green-blind)
#B5A337
Tritanopia (blue-blind)
#AA9F91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9fa92d;
/* rgb */ color: rgb(159, 169, 45);
/* oklch */ color: oklch(70.4% 0.142 114.1);
Tailwind
colors: {
  custom: {
    50: '#bfc26f',
    500: '#9fa92d',
    950: '#000000',
  },
}
SCSS
$custom: #9fa92d;
$custom-light: #bfc26f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa92d",
  "rgb": {
    "r": 159,
    "g": 169,
    "b": 45
  },
  "hsl": {
    "h": 64.839,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70444,
    "c": 0.1425,
    "h": 114.1
  },
  "luminance": 0.35936
}

Semantic roles & 50–950 ramp

primary
#9FA92D
secondary
#766FC2
accent
#47E153
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA92D

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

Preview Lab → · Contrast checker → · Palette generator →

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