#9FA730#9FA730

#9FA730 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.0% C 0.138 H 113.3°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#9FA730
RGBrgb(159, 167, 48)
HSLhsl(64, 55%, 42%)
HSVhsv(64, 71%, 65%)
CMYKcmyk(4.8%, 0%, 71.3%, 34.5%)
CIE-LABlab(65.92, -17.86, 57.18)
CIE-LCHlch(65.92, 59.90, 107.34°)
OKLaboklab(70.01% -0.0547 0.1272)
OKLCHoklch(70.01% 0.138 113.3)
XYZxyz(28.6511, 35.2224, 8.0850)
Luminance0.3522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA730 #3830A7
analogous
#A77430 #9FA730 #63A730
triadic
#9FA730 #309FA7 #A7309F
tetradic
#9FA730 #30A774 #3830A7 #A73063
square
#9FA730 #30A774 #3830A7 #A73063
split-complementary
#9FA730 #3063A7 #7430A7
monochromatic
#444815 #727722 #9FA730 #C2CB49 #D2D879

Accessibility & contrast

On white

2.61
#9FA730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#9FA730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA730
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA730#FFFFFF#000000##000000
##9FA7301.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1B
Deuteranopia (green-blind)
#B3A139
Tritanopia (blue-blind)
#AA9D90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa730;
/* rgb */ color: rgb(159, 167, 48);
/* oklch */ color: oklch(70.0% 0.138 113.3);
Tailwind
colors: {
  custom: {
    50: '#bfc170',
    500: '#9fa730',
    950: '#000000',
  },
}
SCSS
$custom: #9fa730;
$custom-light: #bfc170;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa730",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 48
  },
  "hsl": {
    "h": 64.034,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.70009,
    "c": 0.13843,
    "h": 113.3
  },
  "luminance": 0.35222
}

Semantic roles & 50–950 ramp

primary
#9FA730
secondary
#7772C1
accent
#49DF53
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA730

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

Preview Lab → · Contrast checker → · Palette generator →

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