#9FA63B#9FA63B

#9FA63B 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#9FA63B
RGBrgb(159, 166, 59)
HSLhsl(64, 48%, 44%)
HSVhsv(64, 64%, 65%)
CMYKcmyk(4.2%, 0%, 64.5%, 34.9%)
CIE-LABlab(65.72, -16.69, 52.59)
CIE-LCHlch(65.72, 55.17, 107.61°)
OKLaboklab(69.87% -0.0503 0.1193)
OKLCHoklch(69.87% 0.129 112.9)
XYZxyz(28.7245, 34.9597, 9.3716)
Luminance0.3496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA63B #423BA6
analogous
#A6783B #9FA63B #6AA63B
triadic
#9FA63B #3B9FA6 #A63B9F
tetradic
#9FA63B #3BA678 #423BA6 #A63B6A
square
#9FA63B #3BA678 #423BA6 #A63B6A
split-complementary
#9FA63B #3B6AA6 #783BA6
monochromatic
#494C1B #74792B #9FA63B #BDC45A #CFD487

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA63B#FFFFFF#000000##000000
##9FA63B1.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)
#B29E2D
Deuteranopia (green-blind)
#B2A142
Tritanopia (blue-blind)
#A99C90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa63b;
/* rgb */ color: rgb(159, 166, 59);
/* oklch */ color: oklch(69.9% 0.129 112.9);
Tailwind
colors: {
  custom: {
    50: '#bec076',
    500: '#9fa63b',
    950: '#000000',
  },
}
SCSS
$custom: #9fa63b;
$custom-light: #bec076;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa63b",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 59
  },
  "hsl": {
    "h": 63.925,
    "s": 47.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69871,
    "c": 0.12947,
    "h": 112.9
  },
  "luminance": 0.34959
}

Semantic roles & 50–950 ramp

primary
#9FA63B
secondary
#827EBF
accent
#51D759
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA63B

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

Preview Lab → · Contrast checker → · Palette generator →

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