#9FA224#9FA224

#9FA224 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.8% C 0.140 H 111.0°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#9FA224
RGBrgb(159, 162, 36)
HSLhsl(61, 64%, 39%)
HSVhsv(61, 78%, 64%)
CMYKcmyk(1.9%, 0%, 77.8%, 36.5%)
CIE-LABlab(64.44, -15.85, 59.91)
CIE-LCHlch(64.44, 61.97, 104.82°)
OKLaboklab(68.8% -0.0502 0.1308)
OKLCHoklch(68.8% 0.14 111)
XYZxyz(27.5378, 33.3397, 6.6533)
Luminance0.3334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA224 #2724A2
analogous
#A26624 #9FA224 #60A224
triadic
#9FA224 #249FA2 #A2249F
tetradic
#9FA224 #24A266 #2724A2 #A22460
square
#9FA224 #24A266 #2724A2 #A22460
split-complementary
#9FA224 #2460A2 #6624A2
monochromatic
#3D3E0E #6E7019 #9FA224 #CED132 #DADD64

Accessibility & contrast

On white

2.74
#9FA224 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#9FA224 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA224
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA224#FFFFFF#000000##000000
##9FA2241.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fa224;
/* rgb */ color: rgb(159, 162, 36);
/* oklch */ color: oklch(68.8% 0.140 111.0);
Tailwind
colors: {
  custom: {
    50: '#bfbd6a',
    500: '#9fa224',
    950: '#000000',
  },
}
SCSS
$custom: #9fa224;
$custom-light: #bfbd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa224",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 36
  },
  "hsl": {
    "h": 61.429,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.68797,
    "c": 0.14007,
    "h": 111
  },
  "luminance": 0.33339
}

Semantic roles & 50–950 ramp

primary
#9FA224
secondary
#6260C2
accent
#41E745
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA224

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

Preview Lab → · Contrast checker → · Palette generator →

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