#9FA63E#9FA63E

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

Color values

HEX#9FA63E
RGBrgb(159, 166, 62)
HSLhsl(64, 46%, 45%)
HSVhsv(64, 63%, 65%)
CMYKcmyk(4.2%, 0%, 62.7%, 34.9%)
CIE-LABlab(65.74, -16.49, 51.33)
CIE-LCHlch(65.74, 53.91, 107.81°)
OKLaboklab(69.9% -0.0494 0.1171)
OKLCHoklch(69.9% 0.127 112.9)
XYZxyz(28.8045, 34.9917, 9.7932)
Luminance0.3499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA63E #453EA6
analogous
#A6793E #9FA63E #6BA63E
triadic
#9FA63E #3E9FA6 #A63E9F
tetradic
#9FA63E #3EA679 #453EA6 #A63E6B
square
#9FA63E #3EA679 #453EA6 #A63E6B
split-complementary
#9FA63E #3E6BA6 #793EA6
monochromatic
#4A4D1D #74792D #9FA63E #BCC35E #CFD48B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA63E#FFFFFF#000000##000000
##9FA63E1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fa63e;
/* rgb */ color: rgb(159, 166, 62);
/* oklch */ color: oklch(69.9% 0.127 112.9);
Tailwind
colors: {
  custom: {
    50: '#bec078',
    500: '#9fa63e',
    950: '#000000',
  },
}
SCSS
$custom: #9fa63e;
$custom-light: #bec078;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa63e",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 62
  },
  "hsl": {
    "h": 64.038,
    "s": 45.614,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69899,
    "c": 0.12707,
    "h": 112.9
  },
  "luminance": 0.34991
}

Semantic roles & 50–950 ramp

primary
#9FA63E
secondary
#8682BE
accent
#53D55B
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA63E

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

Preview Lab → · Contrast checker → · Palette generator →

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