#9FA621#9FA621

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

Color values

HEX#9FA621
RGBrgb(159, 166, 33)
HSLhsl(63, 67%, 39%)
HSVhsv(63, 80%, 65%)
CMYKcmyk(4.2%, 0%, 80.1%, 34.9%)
CIE-LABlab(65.56, -18.02, 61.81)
CIE-LCHlch(65.56, 64.38, 106.25°)
OKLaboklab(69.69% -0.0564 0.1343)
OKLCHoklch(69.69% 0.146 112.8)
XYZxyz(28.2098, 34.7538, 6.6607)
Luminance0.3475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA621 #2821A6
analogous
#A66B21 #9FA621 #5DA621
triadic
#9FA621 #219FA6 #A6219F
tetradic
#9FA621 #21A66B #2821A6 #A6215D
square
#9FA621 #21A66B #2821A6 #A6215D
split-complementary
#9FA621 #215DA6 #6B21A6
monochromatic
#3D400D #6E7317 #9FA621 #CDD62F #D9E062

Accessibility & contrast

On white

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

On black

7.95
#9FA621 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA621
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA621#FFFFFF#000000##000000
##9FA6211.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B3A12E
Tritanopia (blue-blind)
#AA9B8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa621;
/* rgb */ color: rgb(159, 166, 33);
/* oklch */ color: oklch(69.7% 0.146 112.8);
Tailwind
colors: {
  custom: {
    50: '#bfc069',
    500: '#9fa621',
    950: '#000000',
  },
}
SCSS
$custom: #9fa621;
$custom-light: #bfc069;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa621",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 33
  },
  "hsl": {
    "h": 63.158,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69691,
    "c": 0.14567,
    "h": 112.8
  },
  "luminance": 0.34753
}

Semantic roles & 50–950 ramp

primary
#9FA621
secondary
#645EC5
accent
#3EEA47
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA621

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

Preview Lab → · Contrast checker → · Palette generator →

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