#9FAA2E#9FAA2E

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

Color values

HEX#9FAA2E
RGBrgb(159, 170, 46)
HSLhsl(65, 57%, 42%)
HSVhsv(65, 73%, 67%)
CMYKcmyk(6.5%, 0%, 72.9%, 33.3%)
CIE-LABlab(66.76, -19.48, 58.73)
CIE-LCHlch(66.76, 61.87, 108.35°)
OKLaboklab(70.68% -0.0594 0.1301)
OKLCHoklch(70.68% 0.143 114.5)
XYZxyz(29.1668, 36.3182, 8.0579)
Luminance0.3632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAA2E #392EAA
analogous
#AA772E #9FAA2E #61AA2E
triadic
#9FAA2E #2E9FAA #AA2E9F
tetradic
#9FAA2E #2EAA77 #392EAA #AA2E61
square
#9FAA2E #2EAA77 #392EAA #AA2E61
split-complementary
#9FAA2E #2E61AA #772EAA
monochromatic
#454A14 #727A21 #9FAA2E #C2CD48 #D2DA78

Accessibility & contrast

On white

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

On black

8.26
#9FAA2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAA2E
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAA2E#FFFFFF#000000##000000
##9FAA2E1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9faa2e;
/* rgb */ color: rgb(159, 170, 46);
/* oklch */ color: oklch(70.7% 0.143 114.5);
Tailwind
colors: {
  custom: {
    50: '#bfc370',
    500: '#9faa2e',
    950: '#000000',
  },
}
SCSS
$custom: #9faa2e;
$custom-light: #bfc370;
$custom-dark: #000000;
JSON
{
  "hex": "#9faa2e",
  "rgb": {
    "r": 159,
    "g": 170,
    "b": 46
  },
  "hsl": {
    "h": 65.323,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70679,
    "c": 0.143,
    "h": 114.5
  },
  "luminance": 0.36318
}

Semantic roles & 50–950 ramp

primary
#9FAA2E
secondary
#7871C3
accent
#47E155
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FAA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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