#9FAC30#9FAC30

#9FAC30 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.1% C 0.144 H 115.4°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#9FAC30
RGBrgb(159, 172, 48)
HSLhsl(66, 56%, 43%)
HSVhsv(66, 72%, 67%)
CMYKcmyk(7.6%, 0%, 72.1%, 32.5%)
CIE-LABlab(67.34, -20.39, 58.57)
CIE-LCHlch(67.34, 62.02, 109.19°)
OKLaboklab(71.15% -0.0617 0.1301)
OKLCHoklch(71.15% 0.144 115.4)
XYZxyz(29.5849, 37.0899, 8.3963)
Luminance0.3709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC30 #3D30AC
analogous
#AC7B30 #9FAC30 #61AC30
triadic
#9FAC30 #309FAC #AC309F
tetradic
#9FAC30 #30AC7B #3D30AC #AC3061
square
#9FAC30 #30AC7B #3D30AC #AC3061
split-complementary
#9FAC30 #3061AC #7B30AC
monochromatic
#474C15 #737C23 #9FAC30 #C0CD4C #D1DA7C

Accessibility & contrast

On white

2.49
#9FAC30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#9FAC30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC30
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC30#FFFFFF#000000##000000
##9FAC301.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A319
Deuteranopia (green-blind)
#B7A53A
Tritanopia (blue-blind)
#A9A294
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac30;
/* rgb */ color: rgb(159, 172, 48);
/* oklch */ color: oklch(71.1% 0.144 115.4);
Tailwind
colors: {
  custom: {
    50: '#bfc471',
    500: '#9fac30',
    950: '#000000',
  },
}
SCSS
$custom: #9fac30;
$custom-light: #bfc471;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac30",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 48
  },
  "hsl": {
    "h": 66.29,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.71149,
    "c": 0.144,
    "h": 115.4
  },
  "luminance": 0.37089
}

Semantic roles & 50–950 ramp

primary
#9FAC30
secondary
#7D75C3
accent
#48E058
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FAC30

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

Preview Lab → · Contrast checker → · Palette generator →

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