#9FA12E#9FA12E

#9FA12E is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.6% C 0.133 H 110.4°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#9FA12E
RGBrgb(159, 161, 46)
HSLhsl(61, 56%, 41%)
HSVhsv(61, 71%, 63%)
CMYKcmyk(1.2%, 0%, 71.4%, 36.9%)
CIE-LABlab(64.21, -14.88, 56.25)
CIE-LCHlch(64.21, 58.19, 104.81°)
OKLaboklab(68.63% -0.0465 0.1249)
OKLCHoklch(68.63% 0.133 110.4)
XYZxyz(27.5370, 33.0587, 7.5146)
Luminance0.3306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA12E #302EA1
analogous
#A1692E #9FA12E #66A12E
triadic
#9FA12E #2E9FA1 #A12E9F
tetradic
#9FA12E #2EA169 #302EA1 #A12E66
square
#9FA12E #2EA169 #302EA1 #A12E66
split-complementary
#9FA12E #2E66A1 #692EA1
monochromatic
#414213 #707120 #9FA12E #C7C943 #D5D773

Accessibility & contrast

On white

2.76
#9FA12E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#9FA12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA12E
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA12E#FFFFFF#000000##000000
##9FA12E1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1A
Deuteranopia (green-blind)
#AF9D37
Tritanopia (blue-blind)
#AA978B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9fa12e;
/* rgb */ color: rgb(159, 161, 46);
/* oklch */ color: oklch(68.6% 0.133 110.4);
Tailwind
colors: {
  custom: {
    50: '#bfbc6f',
    500: '#9fa12e',
    950: '#000000',
  },
}
SCSS
$custom: #9fa12e;
$custom-light: #bfbc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa12e",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 61.043,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68634,
    "c": 0.13326,
    "h": 110.4
  },
  "luminance": 0.33058
}

Semantic roles & 50–950 ramp

primary
#9FA12E
secondary
#6E6CBE
accent
#49DF4C
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA12E

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

Preview Lab → · Contrast checker → · Palette generator →

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