#9FAB41#9FAB41

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

Color values

HEX#9FAB41
RGBrgb(159, 171, 65)
HSLhsl(67, 45%, 46%)
HSVhsv(67, 62%, 67%)
CMYKcmyk(7%, 0%, 62%, 32.9%)
CIE-LABlab(67.19, -18.83, 51.57)
CIE-LCHlch(67.19, 54.90, 110.06°)
OKLaboklab(71.06% -0.0556 0.118)
OKLCHoklch(71.06% 0.13 115.2)
XYZxyz(29.8158, 36.8789, 10.5477)
Luminance0.3688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAB41 #4D41AB
analogous
#AB8241 #9FAB41 #6AAB41
triadic
#9FAB41 #419FAB #AB419F
tetradic
#9FAB41 #41AB82 #4D41AB #AB416A
square
#9FAB41 #41AB82 #4D41AB #AB416A
split-complementary
#9FAB41 #416AAB #8241AB
monochromatic
#4D521F #767F30 #9FAB41 #BAC465 #CED591

Accessibility & contrast

On white

2.51
#9FAB41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#9FAB41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAB41
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAB41#FFFFFF#000000##000000
##9FAB411.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A334
Deuteranopia (green-blind)
#B6A448
Tritanopia (blue-blind)
#A9A295
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fab41;
/* rgb */ color: rgb(159, 171, 65);
/* oklch */ color: oklch(71.1% 0.130 115.2);
Tailwind
colors: {
  custom: {
    50: '#bec37a',
    500: '#9fab41',
    950: '#000000',
  },
}
SCSS
$custom: #9fab41;
$custom-light: #bec37a;
$custom-dark: #000000;
JSON
{
  "hex": "#9fab41",
  "rgb": {
    "r": 159,
    "g": 171,
    "b": 65
  },
  "hsl": {
    "h": 66.792,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71063,
    "c": 0.13047,
    "h": 115.2
  },
  "luminance": 0.36878
}

Semantic roles & 50–950 ramp

primary
#9FAB41
secondary
#8E87C1
accent
#53D562
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9FAB41

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

Preview Lab → · Contrast checker → · Palette generator →

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