#9FA62B#9FA62B

#9FA62B is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.7% C 0.140 H 112.8°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#9FA62B
RGBrgb(159, 166, 43)
HSLhsl(63, 59%, 41%)
HSVhsv(63, 74%, 65%)
CMYKcmyk(4.2%, 0%, 74.1%, 34.9%)
CIE-LABlab(65.61, -17.60, 58.68)
CIE-LCHlch(65.61, 61.26, 106.69°)
OKLaboklab(69.75% -0.0544 0.1295)
OKLCHoklch(69.75% 0.14 112.8)
XYZxyz(28.3712, 34.8184, 7.5111)
Luminance0.3482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA62B #322BA6
analogous
#A66F2B #9FA62B #61A62B
triadic
#9FA62B #2B9FA6 #A62B9F
tetradic
#9FA62B #2BA66F #322BA6 #A62B61
square
#9FA62B #2BA66F #322BA6 #A62B61
split-complementary
#9FA62B #2B61A6 #6F2BA6
monochromatic
#424512 #70751E #9FA62B #C6CE41 #D4DA71

Accessibility & contrast

On white

2.64
#9FA62B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#9FA62B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA62B
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA62B#FFFFFF#000000##000000
##9FA62B1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E11
Deuteranopia (green-blind)
#B3A135
Tritanopia (blue-blind)
#AA9C8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa62b;
/* rgb */ color: rgb(159, 166, 43);
/* oklch */ color: oklch(69.7% 0.140 112.8);
Tailwind
colors: {
  custom: {
    50: '#bfc06e',
    500: '#9fa62b',
    950: '#000000',
  },
}
SCSS
$custom: #9fa62b;
$custom-light: #bfc06e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa62b",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 43
  },
  "hsl": {
    "h": 63.415,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69747,
    "c": 0.14043,
    "h": 112.8
  },
  "luminance": 0.34818
}

Semantic roles & 50–950 ramp

primary
#9FA62B
secondary
#706BC1
accent
#46E24F
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA62B

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

Preview Lab → · Contrast checker → · Palette generator →

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