#9FA225#9FA225

#9FA225 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#9FA225
RGBrgb(159, 162, 37)
HSLhsl(61, 63%, 39%)
HSVhsv(61, 77%, 64%)
CMYKcmyk(1.9%, 0%, 77.2%, 36.5%)
CIE-LABlab(64.44, -15.81, 59.59)
CIE-LCHlch(64.44, 61.66, 104.86°)
OKLaboklab(68.8% -0.05 0.1303)
OKLCHoklch(68.8% 0.14 111)
XYZxyz(27.5533, 33.3459, 6.7349)
Luminance0.3335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA225 #2825A2
analogous
#A26725 #9FA225 #61A225
triadic
#9FA225 #259FA2 #A2259F
tetradic
#9FA225 #25A267 #2825A2 #A22561
square
#9FA225 #25A267 #2825A2 #A22561
split-complementary
#9FA225 #2561A2 #6725A2
monochromatic
#3D3E0E #6E701A #9FA225 #CDD134 #D9DC65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA225#FFFFFF#000000##000000
##9FA2251.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)
#AF9B02
Deuteranopia (green-blind)
#B09E30
Tritanopia (blue-blind)
#AA988B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9fa225;
/* rgb */ color: rgb(159, 162, 37);
/* oklch */ color: oklch(68.8% 0.140 111.0);
Tailwind
colors: {
  custom: {
    50: '#bfbd6b',
    500: '#9fa225',
    950: '#000000',
  },
}
SCSS
$custom: #9fa225;
$custom-light: #bfbd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa225",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 37
  },
  "hsl": {
    "h": 61.44,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.68803,
    "c": 0.13955,
    "h": 111
  },
  "luminance": 0.33345
}

Semantic roles & 50–950 ramp

primary
#9FA225
secondary
#6461C2
accent
#42E646
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA225

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

Preview Lab → · Contrast checker → · Palette generator →

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