#9FA118#9FA118

#9FA118 is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.5% C 0.144 H 110.6°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9FA118
RGBrgb(159, 161, 24)
HSLhsl(61, 74%, 36%)
HSVhsv(61, 85%, 63%)
CMYKcmyk(1.2%, 0%, 85.1%, 36.9%)
CIE-LABlab(64.10, -15.74, 62.91)
CIE-LCHlch(64.10, 64.85, 104.04°)
OKLaboklab(68.52% -0.0507 0.1351)
OKLCHoklch(68.52% 0.144 110.6)
XYZxyz(27.2089, 32.9274, 5.7863)
Luminance0.3293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA118 #1A18A1
analogous
#A15F18 #9FA118 #5BA118
triadic
#9FA118 #189FA1 #A1189F
tetradic
#9FA118 #18A15F #1A18A1 #A1185B
square
#9FA118 #18A15F #1A18A1 #A1185B
split-complementary
#9FA118 #185BA1 #5F18A1
monochromatic
#363608 #6A6C10 #9FA118 #D4D620 #E3E54F

Accessibility & contrast

On white

2.77
#9FA118 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#9FA118 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA118
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA118#FFFFFF#000000##000000
##9FA1181.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9900
Deuteranopia (green-blind)
#B09D27
Tritanopia (blue-blind)
#AB9689
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa118;
/* rgb */ color: rgb(159, 161, 24);
/* oklch */ color: oklch(68.5% 0.144 110.6);
Tailwind
colors: {
  custom: {
    50: '#bfbc65',
    500: '#9fa118',
    950: '#000000',
  },
}
SCSS
$custom: #9fa118;
$custom-light: #bfbc65;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa118",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 24
  },
  "hsl": {
    "h": 60.876,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.68515,
    "c": 0.1443,
    "h": 110.6
  },
  "luminance": 0.32927
}

Semantic roles & 50–950 ramp

primary
#9FA118
secondary
#504EC7
accent
#37F13A
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131206
muted
#82817A

Preview Lab

Preview with #9FA118

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

Preview Lab → · Contrast checker → · Palette generator →

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