#9FA63F#9FA63F

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

Color values

HEX#9FA63F
RGBrgb(159, 166, 63)
HSLhsl(64, 45%, 45%)
HSVhsv(64, 62%, 65%)
CMYKcmyk(4.2%, 0%, 62%, 34.9%)
CIE-LABlab(65.75, -16.42, 50.90)
CIE-LCHlch(65.75, 53.48, 107.88°)
OKLaboklab(69.91% -0.0491 0.1163)
OKLCHoklch(69.91% 0.126 112.9)
XYZxyz(28.8322, 35.0028, 9.9391)
Luminance0.3500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA63F #463FA6
analogous
#A67A3F #9FA63F #6BA63F
triadic
#9FA63F #3F9FA6 #A63F9F
tetradic
#9FA63F #3FA67A #463FA6 #A63F6B
square
#9FA63F #3FA67A #463FA6 #A63F6B
split-complementary
#9FA63F #3F6BA6 #7A3FA6
monochromatic
#4A4D1D #757A2E #9FA63F #BCC360 #CFD38C

Accessibility & contrast

On white

2.62
#9FA63F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#9FA63F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA63F
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA63F#FFFFFF#000000##000000
##9FA63F1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F33
Deuteranopia (green-blind)
#B2A146
Tritanopia (blue-blind)
#A99D90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa63f;
/* rgb */ color: rgb(159, 166, 63);
/* oklch */ color: oklch(69.9% 0.126 112.9);
Tailwind
colors: {
  custom: {
    50: '#bec079',
    500: '#9fa63f',
    950: '#000000',
  },
}
SCSS
$custom: #9fa63f;
$custom-light: #bec079;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa63f",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 63
  },
  "hsl": {
    "h": 64.078,
    "s": 44.978,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69908,
    "c": 0.12625,
    "h": 112.9
  },
  "luminance": 0.35002
}

Semantic roles & 50–950 ramp

primary
#9FA63F
secondary
#8783BE
accent
#53D55C
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA63F

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

Preview Lab → · Contrast checker → · Palette generator →

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