#9FAA2F#9FAA2F

#9FAA2F is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.7% C 0.142 H 114.5°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#9FAA2F
RGBrgb(159, 170, 47)
HSLhsl(65, 57%, 43%)
HSVhsv(65, 72%, 67%)
CMYKcmyk(6.5%, 0%, 72.4%, 33.3%)
CIE-LABlab(66.77, -19.43, 58.37)
CIE-LCHlch(66.77, 61.52, 108.41°)
OKLaboklab(70.69% -0.0591 0.1295)
OKLCHoklch(70.69% 0.142 114.5)
XYZxyz(29.1867, 36.3262, 8.1629)
Luminance0.3633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAA2F #3A2FAA
analogous
#AA782F #9FAA2F #61AA2F
triadic
#9FAA2F #2F9FAA #AA2F9F
tetradic
#9FAA2F #2FAA78 #3A2FAA #AA2F61
square
#9FAA2F #2FAA78 #3A2FAA #AA2F61
split-complementary
#9FAA2F #2F61AA #782FAA
monochromatic
#454A14 #727A22 #9FAA2F #C1CD49 #D1DA79

Accessibility & contrast

On white

2.54
#9FAA2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#9FAA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAA2F
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAA2F#FFFFFF#000000##000000
##9FAA2F1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A118
Deuteranopia (green-blind)
#B6A439
Tritanopia (blue-blind)
#AAA092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9faa2f;
/* rgb */ color: rgb(159, 170, 47);
/* oklch */ color: oklch(70.7% 0.142 114.5);
Tailwind
colors: {
  custom: {
    50: '#bfc370',
    500: '#9faa2f',
    950: '#000000',
  },
}
SCSS
$custom: #9faa2f;
$custom-light: #bfc370;
$custom-dark: #000000;
JSON
{
  "hex": "#9faa2f",
  "rgb": {
    "r": 159,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 65.366,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70685,
    "c": 0.14239,
    "h": 114.5
  },
  "luminance": 0.36326
}

Semantic roles & 50–950 ramp

primary
#9FAA2F
secondary
#7A72C2
accent
#48E055
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FAA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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