#9FA830#9FA830

#9FA830 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.2% C 0.140 H 113.7°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#9FA830
RGBrgb(159, 168, 48)
HSLhsl(65, 56%, 42%)
HSVhsv(65, 71%, 66%)
CMYKcmyk(5.4%, 0%, 71.4%, 34.1%)
CIE-LABlab(66.21, -18.37, 57.46)
CIE-LCHlch(66.21, 60.32, 107.73°)
OKLaboklab(70.24% -0.0561 0.1278)
OKLCHoklch(70.24% 0.14 113.7)
XYZxyz(28.8350, 35.5902, 8.1463)
Luminance0.3559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA830 #3930A8
analogous
#A87530 #9FA830 #63A830
triadic
#9FA830 #309FA8 #A8309F
tetradic
#9FA830 #30A875 #3930A8 #A83063
square
#9FA830 #30A875 #3930A8 #A83063
split-complementary
#9FA830 #3063A8 #7530A8
monochromatic
#454915 #727822 #9FA830 #C2CB4A #D2D97A

Accessibility & contrast

On white

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

On black

8.12
#9FA830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA830
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA830#FFFFFF#000000##000000
##9FA8301.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A01B
Deuteranopia (green-blind)
#B4A239
Tritanopia (blue-blind)
#AA9E91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa830;
/* rgb */ color: rgb(159, 168, 48);
/* oklch */ color: oklch(70.2% 0.140 113.7);
Tailwind
colors: {
  custom: {
    50: '#bfc171',
    500: '#9fa830',
    950: '#000000',
  },
}
SCSS
$custom: #9fa830;
$custom-light: #bfc171;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa830",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 48
  },
  "hsl": {
    "h": 64.5,
    "s": 55.556,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70236,
    "c": 0.13954,
    "h": 113.7
  },
  "luminance": 0.3559
}

Semantic roles & 50–950 ramp

primary
#9FA830
secondary
#7873C1
accent
#49DF54
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA830

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

Preview Lab → · Contrast checker → · Palette generator →

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