#9FAA23#9FAA23

#9FAA23 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.6% C 0.149 H 114.4°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#9FAA23
RGBrgb(159, 170, 35)
HSLhsl(65, 66%, 40%)
HSVhsv(65, 79%, 67%)
CMYKcmyk(6.5%, 0%, 79.4%, 33.3%)
CIE-LABlab(66.70, -19.97, 62.25)
CIE-LCHlch(66.70, 65.37, 107.78°)
OKLaboklab(70.61% -0.0616 0.1356)
OKLCHoklch(70.61% 0.149 114.4)
XYZxyz(28.9771, 36.2423, 7.0588)
Luminance0.3624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAA23 #2E23AA
analogous
#AA7223 #9FAA23 #5BAA23
triadic
#9FAA23 #239FAA #AA239F
tetradic
#9FAA23 #23AA72 #2E23AA #AA235B
square
#9FAA23 #23AA72 #2E23AA #AA235B
split-complementary
#9FAA23 #235BAA #7223AA
monochromatic
#40440E #707719 #9FAA23 #C8D535 #D6E068

Accessibility & contrast

On white

2.55
#9FAA23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#9FAA23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAA23
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAA23#FFFFFF#000000##000000
##9FAA231.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B6A330
Tritanopia (blue-blind)
#AAA091
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9faa23;
/* rgb */ color: rgb(159, 170, 35);
/* oklch */ color: oklch(70.6% 0.149 114.4);
Tailwind
colors: {
  custom: {
    50: '#bfc36b',
    500: '#9faa23',
    950: '#000000',
  },
}
SCSS
$custom: #9faa23;
$custom-light: #bfc36b;
$custom-dark: #000000;
JSON
{
  "hex": "#9faa23",
  "rgb": {
    "r": 159,
    "g": 170,
    "b": 35
  },
  "hsl": {
    "h": 64.889,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70614,
    "c": 0.14896,
    "h": 114.4
  },
  "luminance": 0.36242
}

Semantic roles & 50–950 ramp

primary
#9FAA23
secondary
#6B63C6
accent
#3FE94D
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FAA23

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

Preview Lab → · Contrast checker → · Palette generator →

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