#9FAB34#9FAB34

#9FAB34 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.0% C 0.140 H 115.0°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#9FAB34
RGBrgb(159, 171, 52)
HSLhsl(66, 53%, 44%)
HSVhsv(66, 70%, 67%)
CMYKcmyk(7%, 0%, 69.6%, 32.9%)
CIE-LABlab(67.09, -19.67, 56.82)
CIE-LCHlch(67.09, 60.13, 109.09°)
OKLaboklab(70.95% -0.0593 0.1271)
OKLCHoklch(70.95% 0.14 115)
XYZxyz(29.4816, 36.7452, 8.7876)
Luminance0.3674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAB34 #4034AB
analogous
#AB7B34 #9FAB34 #63AB34
triadic
#9FAB34 #349FAB #AB349F
tetradic
#9FAB34 #34AB7B #4034AB #AB3463
square
#9FAB34 #34AB7B #4034AB #AB3463
split-complementary
#9FAB34 #3463AB #7B34AB
monochromatic
#484D17 #737C26 #9FAB34 #BECA52 #D0D981

Accessibility & contrast

On white

2.52
#9FAB34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#9FAB34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAB34
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAB34#FFFFFF#000000##000000
##9FAB341.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A221
Deuteranopia (green-blind)
#B6A43D
Tritanopia (blue-blind)
#A9A193
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9fab34;
/* rgb */ color: rgb(159, 171, 52);
/* oklch */ color: oklch(71.0% 0.140 115.0);
Tailwind
colors: {
  custom: {
    50: '#bec373',
    500: '#9fab34',
    950: '#000000',
  },
}
SCSS
$custom: #9fab34;
$custom-light: #bec373;
$custom-dark: #000000;
JSON
{
  "hex": "#9fab34",
  "rgb": {
    "r": 159,
    "g": 171,
    "b": 52
  },
  "hsl": {
    "h": 66.05,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.7095,
    "c": 0.14027,
    "h": 115
  },
  "luminance": 0.36745
}

Semantic roles & 50–950 ramp

primary
#9FAB34
secondary
#8079C2
accent
#4BDD5A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FAB34

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

Preview Lab → · Contrast checker → · Palette generator →

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