#9FAB37#9FAB37

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

Color values

HEX#9FAB37
RGBrgb(159, 171, 55)
HSLhsl(66, 51%, 44%)
HSVhsv(66, 68%, 67%)
CMYKcmyk(7%, 0%, 67.8%, 32.9%)
CIE-LABlab(67.11, -19.49, 55.67)
CIE-LCHlch(67.11, 58.98, 109.30°)
OKLaboklab(70.97% -0.0585 0.1252)
OKLCHoklch(70.97% 0.138 115.1)
XYZxyz(29.5513, 36.7731, 9.1549)
Luminance0.3677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAB37 #4337AB
analogous
#AB7D37 #9FAB37 #65AB37
triadic
#9FAB37 #379FAB #AB379F
tetradic
#9FAB37 #37AB7D #4337AB #AB3765
square
#9FAB37 #37AB7D #4337AB #AB3765
split-complementary
#9FAB37 #3765AB #7D37AB
monochromatic
#494E19 #747D28 #9FAB37 #BDC956 #CFD885

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FAB37#FFFFFF#000000##000000
##9FAB371.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A226
Deuteranopia (green-blind)
#B6A43F
Tritanopia (blue-blind)
#A9A194
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9fab37;
/* rgb */ color: rgb(159, 171, 55);
/* oklch */ color: oklch(71.0% 0.138 115.1);
Tailwind
colors: {
  custom: {
    50: '#bec375',
    500: '#9fab37',
    950: '#000000',
  },
}
SCSS
$custom: #9fab37;
$custom-light: #bec375;
$custom-dark: #000000;
JSON
{
  "hex": "#9fab37",
  "rgb": {
    "r": 159,
    "g": 171,
    "b": 55
  },
  "hsl": {
    "h": 66.207,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70974,
    "c": 0.13818,
    "h": 115.1
  },
  "luminance": 0.36773
}

Semantic roles & 50–950 ramp

primary
#9FAB37
secondary
#847CC1
accent
#4DDB5C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FAB37

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

Preview Lab → · Contrast checker → · Palette generator →

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