#9FA63C#9FA63C

#9FA63C is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.9% C 0.129 H 112.9°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#9FA63C
RGBrgb(159, 166, 60)
HSLhsl(64, 47%, 44%)
HSVhsv(64, 64%, 65%)
CMYKcmyk(4.2%, 0%, 63.9%, 34.9%)
CIE-LABlab(65.73, -16.63, 52.17)
CIE-LCHlch(65.73, 54.76, 107.68°)
OKLaboklab(69.88% -0.05 0.1186)
OKLCHoklch(69.88% 0.129 112.9)
XYZxyz(28.7507, 34.9702, 9.5095)
Luminance0.3497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA63C #433CA6
analogous
#A6783C #9FA63C #6AA63C
triadic
#9FA63C #3C9FA6 #A63C9F
tetradic
#9FA63C #3CA678 #433CA6 #A63C6A
square
#9FA63C #3CA678 #433CA6 #A63C6A
split-complementary
#9FA63C #3C6AA6 #783CA6
monochromatic
#494C1C #74792C #9FA63C #BDC45B #CFD488

Accessibility & contrast

On white

2.63
#9FA63C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#9FA63C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA63C
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA63C#FFFFFF#000000##000000
##9FA63C1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E2E
Deuteranopia (green-blind)
#B2A143
Tritanopia (blue-blind)
#A99C90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa63c;
/* rgb */ color: rgb(159, 166, 60);
/* oklch */ color: oklch(69.9% 0.129 112.9);
Tailwind
colors: {
  custom: {
    50: '#bec077',
    500: '#9fa63c',
    950: '#000000',
  },
}
SCSS
$custom: #9fa63c;
$custom-light: #bec077;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa63c",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 60
  },
  "hsl": {
    "h": 63.962,
    "s": 46.903,
    "l": 44.314
  },
  "oklch": {
    "l": 0.6988,
    "c": 0.12868,
    "h": 112.9
  },
  "luminance": 0.3497
}

Semantic roles & 50–950 ramp

primary
#9FA63C
secondary
#847FBE
accent
#51D75A
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA63C

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

Preview Lab → · Contrast checker → · Palette generator →

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