#9FA625#9FA625

#9FA625 is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.7% C 0.144 H 112.8°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#9FA625
RGBrgb(159, 166, 37)
HSLhsl(63, 64%, 40%)
HSVhsv(63, 78%, 65%)
CMYKcmyk(4.2%, 0%, 77.7%, 34.9%)
CIE-LABlab(65.58, -17.86, 60.63)
CIE-LCHlch(65.58, 63.20, 106.42°)
OKLaboklab(69.71% -0.0557 0.1325)
OKLCHoklch(69.71% 0.144 112.8)
XYZxyz(28.2692, 34.7776, 6.9735)
Luminance0.3478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA625 #2C25A6
analogous
#A66D25 #9FA625 #5EA625
triadic
#9FA625 #259FA6 #A6259F
tetradic
#9FA625 #25A66D #2C25A6 #A6255E
square
#9FA625 #25A66D #2C25A6 #A6255E
split-complementary
#9FA625 #255EA6 #6D25A6
monochromatic
#3F420F #6F741A #9FA625 #CAD236 #D7DD68

Accessibility & contrast

On white

2.64
#9FA625 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#9FA625 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA625
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA625#FFFFFF#000000##000000
##9FA6251.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B3A131
Tritanopia (blue-blind)
#AA9C8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa625;
/* rgb */ color: rgb(159, 166, 37);
/* oklch */ color: oklch(69.7% 0.144 112.8);
Tailwind
colors: {
  custom: {
    50: '#bfc06b',
    500: '#9fa625',
    950: '#000000',
  },
}
SCSS
$custom: #9fa625;
$custom-light: #bfc06b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa625",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 37
  },
  "hsl": {
    "h": 63.256,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69712,
    "c": 0.14372,
    "h": 112.8
  },
  "luminance": 0.34777
}

Semantic roles & 50–950 ramp

primary
#9FA625
secondary
#6964C3
accent
#41E74A
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA625

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

Preview Lab → · Contrast checker → · Palette generator →

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