#9FA93C#9FA93C

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

Color values

HEX#9FA93C
RGBrgb(159, 169, 60)
HSLhsl(66, 48%, 45%)
HSVhsv(66, 64%, 66%)
CMYKcmyk(5.9%, 0%, 64.5%, 33.7%)
CIE-LABlab(66.58, -18.16, 53.07)
CIE-LCHlch(66.58, 56.09, 108.89°)
OKLaboklab(70.56% -0.0543 0.1205)
OKLCHoklch(70.56% 0.132 114.3)
XYZxyz(29.3024, 36.0736, 9.6934)
Luminance0.3607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA93C #463CA9
analogous
#A97D3C #9FA93C #68A93C
triadic
#9FA93C #3C9FA9 #A93C9F
tetradic
#9FA93C #3CA97D #463CA9 #A93C68
square
#9FA93C #3CA97D #463CA9 #A93C68
split-complementary
#9FA93C #3C68A9 #7D3CA9
monochromatic
#4A4F1C #757C2C #9FA93C #BCC55D #CFD58A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA93C#FFFFFF#000000##000000
##9FA93C1.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)
#B5A12E
Deuteranopia (green-blind)
#B4A343
Tritanopia (blue-blind)
#A99F93
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9fa93c;
/* rgb */ color: rgb(159, 169, 60);
/* oklch */ color: oklch(70.6% 0.132 114.3);
Tailwind
colors: {
  custom: {
    50: '#bec277',
    500: '#9fa93c',
    950: '#000000',
  },
}
SCSS
$custom: #9fa93c;
$custom-light: #bec277;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa93c",
  "rgb": {
    "r": 159,
    "g": 169,
    "b": 60
  },
  "hsl": {
    "h": 65.505,
    "s": 47.598,
    "l": 44.902
  },
  "oklch": {
    "l": 0.70561,
    "c": 0.13213,
    "h": 114.3
  },
  "luminance": 0.36073
}

Semantic roles & 50–950 ramp

primary
#9FA93C
secondary
#8781C0
accent
#51D75D
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA93C

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

Preview Lab → · Contrast checker → · Palette generator →

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