#9FA93B#9FA93B

#9FA93B is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.6% C 0.133 H 114.3°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#9FA93B
RGBrgb(159, 169, 59)
HSLhsl(65, 48%, 45%)
HSVhsv(65, 65%, 66%)
CMYKcmyk(5.9%, 0%, 65.1%, 33.7%)
CIE-LABlab(66.57, -18.23, 53.48)
CIE-LCHlch(66.57, 56.50, 108.82°)
OKLaboklab(70.55% -0.0546 0.1212)
OKLCHoklch(70.55% 0.133 114.3)
XYZxyz(29.2762, 36.0632, 9.5555)
Luminance0.3606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA93B #453BA9
analogous
#A97C3B #9FA93B #68A93B
triadic
#9FA93B #3B9FA9 #A93B9F
tetradic
#9FA93B #3BA97C #453BA9 #A93B68
square
#9FA93B #3BA97C #453BA9 #A93B68
split-complementary
#9FA93B #3B68A9 #7C3BA9
monochromatic
#4A4E1B #747C2B #9FA93B #BCC65B #CFD689

Accessibility & contrast

On white

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

On black

8.21
#9FA93B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA93B
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA93B#FFFFFF#000000##000000
##9FA93B1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A12C
Deuteranopia (green-blind)
#B4A343
Tritanopia (blue-blind)
#A99F92
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9fa93b;
/* rgb */ color: rgb(159, 169, 59);
/* oklch */ color: oklch(70.6% 0.133 114.3);
Tailwind
colors: {
  custom: {
    50: '#bec277',
    500: '#9fa93b',
    950: '#000000',
  },
}
SCSS
$custom: #9fa93b;
$custom-light: #bec277;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa93b",
  "rgb": {
    "r": 159,
    "g": 169,
    "b": 59
  },
  "hsl": {
    "h": 65.455,
    "s": 48.246,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70552,
    "c": 0.13291,
    "h": 114.3
  },
  "luminance": 0.36063
}

Semantic roles & 50–950 ramp

primary
#9FA93B
secondary
#8680C0
accent
#50D85C
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA93B

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

Preview Lab → · Contrast checker → · Palette generator →

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