#9FA92C#9FA92C

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

Color values

HEX#9FA92C
RGBrgb(159, 169, 44)
HSLhsl(65, 59%, 42%)
HSVhsv(65, 74%, 66%)
CMYKcmyk(5.9%, 0%, 74%, 33.7%)
CIE-LABlab(66.47, -19.08, 59.15)
CIE-LCHlch(66.47, 62.15, 107.88°)
OKLaboklab(70.44% -0.0584 0.1306)
OKLCHoklch(70.44% 0.143 114.1)
XYZxyz(28.9415, 35.9293, 7.7928)
Luminance0.3593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA92C #362CA9
analogous
#A9752C #9FA92C #61A92C
triadic
#9FA92C #2C9FA9 #A92C9F
tetradic
#9FA92C #2CA975 #362CA9 #A92C61
square
#9FA92C #2CA975 #362CA9 #A92C61
split-complementary
#9FA92C #2C61A9 #752CA9
monochromatic
#444813 #71781F #9FA92C #C3CE44 #D3DB74

Accessibility & contrast

On white

2.57
#9FA92C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA92C#FFFFFF#000000##000000
##9FA92C1.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fa92c;
/* rgb */ color: rgb(159, 169, 44);
/* oklch */ color: oklch(70.4% 0.143 114.1);
Tailwind
colors: {
  custom: {
    50: '#bfc26f',
    500: '#9fa92c',
    950: '#000000',
  },
}
SCSS
$custom: #9fa92c;
$custom-light: #bfc26f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa92c",
  "rgb": {
    "r": 159,
    "g": 169,
    "b": 44
  },
  "hsl": {
    "h": 64.8,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70437,
    "c": 0.14309,
    "h": 114.1
  },
  "luminance": 0.35929
}

Semantic roles & 50–950 ramp

primary
#9FA92C
secondary
#756EC3
accent
#46E252
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA92C

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

Preview Lab → · Contrast checker → · Palette generator →

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