#9FA825#9FA825

#9FA825 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.2% C 0.146 H 113.6°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#9FA825
RGBrgb(159, 168, 37)
HSLhsl(64, 64%, 40%)
HSVhsv(64, 78%, 66%)
CMYKcmyk(5.4%, 0%, 78%, 34.1%)
CIE-LABlab(66.14, -18.88, 61.14)
CIE-LCHlch(66.14, 63.99, 107.16°)
OKLaboklab(70.17% -0.0585 0.1336)
OKLCHoklch(70.17% 0.146 113.6)
XYZxyz(28.6355, 35.5104, 7.0956)
Luminance0.3551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA825 #2E25A8
analogous
#A86F25 #9FA825 #5EA825
triadic
#9FA825 #259FA8 #A8259F
tetradic
#9FA825 #25A86F #2E25A8 #A8255E
square
#9FA825 #25A86F #2E25A8 #A8255E
split-complementary
#9FA825 #255EA8 #6F25A8
monochromatic
#40440F #70761A #9FA825 #C8D337 #D6DE69

Accessibility & contrast

On white

2.59
#9FA825 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#9FA825 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA825
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA825#FFFFFF#000000##000000
##9FA8251.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B5A231
Tritanopia (blue-blind)
#AA9E90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa825;
/* rgb */ color: rgb(159, 168, 37);
/* oklch */ color: oklch(70.2% 0.146 113.6);
Tailwind
colors: {
  custom: {
    50: '#bfc16b',
    500: '#9fa825',
    950: '#000000',
  },
}
SCSS
$custom: #9fa825;
$custom-light: #bfc16b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa825",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 37
  },
  "hsl": {
    "h": 64.122,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70167,
    "c": 0.14584,
    "h": 113.6
  },
  "luminance": 0.3551
}

Semantic roles & 50–950 ramp

primary
#9FA825
secondary
#6B65C4
accent
#41E74C
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA825

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

Preview Lab → · Contrast checker → · Palette generator →

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