#9FAC34#9FAC34

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

Color values

HEX#9FAC34
RGBrgb(159, 172, 52)
HSLhsl(67, 54%, 44%)
HSVhsv(67, 70%, 67%)
CMYKcmyk(7.6%, 0%, 69.8%, 32.5%)
CIE-LABlab(67.37, -20.17, 57.10)
CIE-LCHlch(67.37, 60.56, 109.45°)
OKLaboklab(71.18% -0.0607 0.1277)
OKLCHoklch(71.18% 0.141 115.4)
XYZxyz(29.6712, 37.1244, 8.8508)
Luminance0.3712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC34 #4134AC
analogous
#AC7D34 #9FAC34 #63AC34
triadic
#9FAC34 #349FAC #AC349F
tetradic
#9FAC34 #34AC7D #4134AC #AC3463
square
#9FAC34 #34AC7D #4134AC #AC3463
split-complementary
#9FAC34 #3463AC #7D34AC
monochromatic
#484E18 #747D26 #9FAC34 #BECB52 #D0D981

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FAC34#FFFFFF#000000##000000
##9FAC341.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)
#B8A321
Deuteranopia (green-blind)
#B7A53D
Tritanopia (blue-blind)
#A9A294
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac34;
/* rgb */ color: rgb(159, 172, 52);
/* oklch */ color: oklch(71.2% 0.141 115.4);
Tailwind
colors: {
  custom: {
    50: '#bec473',
    500: '#9fac34',
    950: '#000000',
  },
}
SCSS
$custom: #9fac34;
$custom-light: #bec473;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac34",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 52
  },
  "hsl": {
    "h": 66.5,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.71178,
    "c": 0.14141,
    "h": 115.4
  },
  "luminance": 0.37124
}

Semantic roles & 50–950 ramp

primary
#9FAC34
secondary
#8179C2
accent
#4BDD5B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FAC34

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

Preview Lab → · Contrast checker → · Palette generator →

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