#9FA325#9FA325

#9FA325 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.0% C 0.141 H 111.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#9FA325
RGBrgb(159, 163, 37)
HSLhsl(62, 63%, 39%)
HSVhsv(62, 77%, 64%)
CMYKcmyk(2.5%, 0%, 77.3%, 36.1%)
CIE-LABlab(64.72, -16.33, 59.85)
CIE-LCHlch(64.72, 62.04, 105.26°)
OKLaboklab(69.03% -0.0514 0.1309)
OKLCHoklch(69.03% 0.141 111.4)
XYZxyz(27.7302, 33.6996, 6.7938)
Luminance0.3370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA325 #2925A3
analogous
#A36825 #9FA325 #60A325
triadic
#9FA325 #259FA3 #A3259F
tetradic
#9FA325 #25A368 #2925A3 #A32560
square
#9FA325 #25A368 #2925A3 #A32560
split-complementary
#9FA325 #2560A3 #6825A3
monochromatic
#3E3F0E #6E711A #9FA325 #CCD134 #D9DC66

Accessibility & contrast

On white

2.71
#9FA325 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#9FA325 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA325
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA325#FFFFFF#000000##000000
##9FA3251.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B02
Deuteranopia (green-blind)
#B19E30
Tritanopia (blue-blind)
#AA998C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa325;
/* rgb */ color: rgb(159, 163, 37);
/* oklch */ color: oklch(69.0% 0.141 111.4);
Tailwind
colors: {
  custom: {
    50: '#bfbe6b',
    500: '#9fa325',
    950: '#000000',
  },
}
SCSS
$custom: #9fa325;
$custom-light: #bfbe6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa325",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 37
  },
  "hsl": {
    "h": 61.905,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.6903,
    "c": 0.14058,
    "h": 111.4
  },
  "luminance": 0.33699
}

Semantic roles & 50–950 ramp

primary
#9FA325
secondary
#6562C2
accent
#42E647
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA325

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

Preview Lab → · Contrast checker → · Palette generator →

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