#9FA22E#9FA22E

#9FA22E is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.9% C 0.134 H 110.9°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#9FA22E
RGBrgb(159, 162, 46)
HSLhsl(62, 56%, 41%)
HSVhsv(62, 72%, 64%)
CMYKcmyk(1.9%, 0%, 71.6%, 36.5%)
CIE-LABlab(64.49, -15.39, 56.53)
CIE-LCHlch(64.49, 58.59, 105.23°)
OKLaboklab(68.86% -0.048 0.1255)
OKLCHoklch(68.86% 0.134 110.9)
XYZxyz(27.7125, 33.4096, 7.5731)
Luminance0.3341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA22E #312EA2
analogous
#A26B2E #9FA22E #65A22E
triadic
#9FA22E #2E9FA2 #A22E9F
tetradic
#9FA22E #2EA26B #312EA2 #A22E65
square
#9FA22E #2EA26B #312EA2 #A22E65
split-complementary
#9FA22E #2E65A2 #6B2EA2
monochromatic
#414313 #707220 #9FA22E #C6CA43 #D5D773

Accessibility & contrast

On white

2.73
#9FA22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#9FA22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA22E
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA22E#FFFFFF#000000##000000
##9FA22E1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B19
Deuteranopia (green-blind)
#B09E37
Tritanopia (blue-blind)
#AA988B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9fa22e;
/* rgb */ color: rgb(159, 162, 46);
/* oklch */ color: oklch(68.9% 0.134 110.9);
Tailwind
colors: {
  custom: {
    50: '#bfbd6f',
    500: '#9fa22e',
    950: '#000000',
  },
}
SCSS
$custom: #9fa22e;
$custom-light: #bfbd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa22e",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 61.552,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.6886,
    "c": 0.13432,
    "h": 110.9
  },
  "luminance": 0.33409
}

Semantic roles & 50–950 ramp

primary
#9FA22E
secondary
#6F6DBF
accent
#49DF4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA22E

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

Preview Lab → · Contrast checker → · Palette generator →

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