#9FA114#9FA114

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

Color values

HEX#9FA114
RGBrgb(159, 161, 20)
HSLhsl(61, 78%, 35%)
HSVhsv(61, 88%, 63%)
CMYKcmyk(1.2%, 0%, 87.6%, 36.9%)
CIE-LABlab(64.09, -15.84, 63.78)
CIE-LCHlch(64.09, 65.72, 103.95°)
OKLaboklab(68.5% -0.0512 0.1363)
OKLCHoklch(68.5% 0.146 110.6)
XYZxyz(27.1703, 32.9120, 5.5831)
Luminance0.3291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA114 #1614A1
analogous
#A15C14 #9FA114 #58A114
triadic
#9FA114 #149FA1 #A1149F
tetradic
#9FA114 #14A15C #1614A1 #A11458
square
#9FA114 #14A15C #1614A1 #A11458
split-complementary
#9FA114 #1458A1 #5C14A1
monochromatic
#333406 #696B0D #9FA114 #D5D71B #E6E847

Accessibility & contrast

On white

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

On black

7.58
#9FA114 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA114
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA114#FFFFFF#000000##000000
##9FA1141.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fa114;
/* rgb */ color: rgb(159, 161, 20);
/* oklch */ color: oklch(68.5% 0.146 110.6);
Tailwind
colors: {
  custom: {
    50: '#bfbc64',
    500: '#9fa114',
    950: '#000000',
  },
}
SCSS
$custom: #9fa114;
$custom-light: #bfbc64;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa114",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 20
  },
  "hsl": {
    "h": 60.851,
    "s": 77.901,
    "l": 35.49
  },
  "oklch": {
    "l": 0.68501,
    "c": 0.14564,
    "h": 110.6
  },
  "luminance": 0.32911
}

Semantic roles & 50–950 ramp

primary
#9FA114
secondary
#4A48C9
accent
#33F436
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131206
muted
#82817A

Preview Lab

Preview with #9FA114

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

Preview Lab → · Contrast checker → · Palette generator →

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