#9FA92B#9FA92B

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

Color values

HEX#9FA92B
RGBrgb(159, 169, 43)
HSLhsl(65, 59%, 42%)
HSVhsv(65, 75%, 66%)
CMYKcmyk(5.9%, 0%, 74.6%, 33.7%)
CIE-LABlab(66.46, -19.12, 59.48)
CIE-LCHlch(66.46, 62.48, 107.82°)
OKLaboklab(70.43% -0.0586 0.1312)
OKLCHoklch(70.43% 0.144 114.1)
XYZxyz(28.9229, 35.9219, 7.6950)
Luminance0.3592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA92B #352BA9
analogous
#A9742B #9FA92B #60A92B
triadic
#9FA92B #2B9FA9 #A92B9F
tetradic
#9FA92B #2BA974 #352BA9 #A92B60
square
#9FA92B #2BA974 #352BA9 #A92B60
split-complementary
#9FA92B #2B60A9 #742BA9
monochromatic
#434712 #71781F #9FA92B #C4CF42 #D3DB73

Accessibility & contrast

On white

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

On black

8.18
#9FA92B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA92B
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA92B#FFFFFF#000000##000000
##9FA92B1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fa92b;
/* rgb */ color: rgb(159, 169, 43);
/* oklch */ color: oklch(70.4% 0.144 114.1);
Tailwind
colors: {
  custom: {
    50: '#bfc26e',
    500: '#9fa92b',
    950: '#000000',
  },
}
SCSS
$custom: #9fa92b;
$custom-light: #bfc26e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa92b",
  "rgb": {
    "r": 159,
    "g": 169,
    "b": 43
  },
  "hsl": {
    "h": 64.762,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70431,
    "c": 0.14368,
    "h": 114.1
  },
  "luminance": 0.35921
}

Semantic roles & 50–950 ramp

primary
#9FA92B
secondary
#746DC3
accent
#45E352
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA92B

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

Preview Lab → · Contrast checker → · Palette generator →

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