#9FAC23#9FAC23

#9FAC23 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.1% C 0.151 H 115.2°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#9FAC23
RGBrgb(159, 172, 35)
HSLhsl(66, 66%, 41%)
HSVhsv(66, 80%, 67%)
CMYKcmyk(7.6%, 0%, 79.7%, 32.5%)
CIE-LABlab(67.28, -20.97, 62.76)
CIE-LCHlch(67.28, 66.17, 108.48°)
OKLaboklab(71.07% -0.0644 0.1367)
OKLCHoklch(71.07% 0.151 115.2)
XYZxyz(29.3548, 36.9978, 7.1847)
Luminance0.3700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC23 #3023AC
analogous
#AC7423 #9FAC23 #5BAC23
triadic
#9FAC23 #239FAC #AC239F
tetradic
#9FAC23 #23AC74 #3023AC #AC235B
square
#9FAC23 #23AC74 #3023AC #AC235B
split-complementary
#9FAC23 #235BAC #7423AC
monochromatic
#41460E #707919 #9FAC23 #C7D636 #D5E069

Accessibility & contrast

On white

2.50
#9FAC23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#9FAC23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC23
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC23#FFFFFF#000000##000000
##9FAC231.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B8A530
Tritanopia (blue-blind)
#AAA293
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac23;
/* rgb */ color: rgb(159, 172, 35);
/* oklch */ color: oklch(71.1% 0.151 115.2);
Tailwind
colors: {
  custom: {
    50: '#bfc46b',
    500: '#9fac23',
    950: '#000000',
  },
}
SCSS
$custom: #9fac23;
$custom-light: #bfc46b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac23",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 35
  },
  "hsl": {
    "h": 65.693,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.71072,
    "c": 0.15111,
    "h": 115.2
  },
  "luminance": 0.36997
}

Semantic roles & 50–950 ramp

primary
#9FAC23
secondary
#6E64C6
accent
#3FE94F
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FAC23

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

Preview Lab → · Contrast checker → · Palette generator →

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