#9FA330#9FA330

#9FA330 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.1% C 0.134 H 111.4°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#9FA330
RGBrgb(159, 163, 48)
HSLhsl(62, 55%, 41%)
HSVhsv(62, 71%, 64%)
CMYKcmyk(2.5%, 0%, 70.6%, 36.1%)
CIE-LABlab(64.79, -15.81, 56.07)
CIE-LCHlch(64.79, 58.25, 105.74°)
OKLaboklab(69.1% -0.0489 0.1248)
OKLCHoklch(69.1% 0.134 111.4)
XYZxyz(27.9297, 33.7794, 7.8446)
Luminance0.3378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA330 #3430A3
analogous
#A36E30 #9FA330 #66A330
triadic
#9FA330 #309FA3 #A3309F
tetradic
#9FA330 #30A36E #3430A3 #A33066
square
#9FA330 #30A36E #3430A3 #A33066
split-complementary
#9FA330 #3066A3 #6E30A3
monochromatic
#434414 #717422 #9FA330 #C4C947 #D3D777

Accessibility & contrast

On white

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

On black

7.76
#9FA330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA330
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA330#FFFFFF#000000##000000
##9FA3301.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fa330;
/* rgb */ color: rgb(159, 163, 48);
/* oklch */ color: oklch(69.1% 0.134 111.4);
Tailwind
colors: {
  custom: {
    50: '#bfbe70',
    500: '#9fa330',
    950: '#000000',
  },
}
SCSS
$custom: #9fa330;
$custom-light: #bfbe70;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa330",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 48
  },
  "hsl": {
    "h": 62.087,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69101,
    "c": 0.13408,
    "h": 111.4
  },
  "luminance": 0.33779
}

Semantic roles & 50–950 ramp

primary
#9FA330
secondary
#7370BF
accent
#4ADE4F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA330

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

Preview Lab → · Contrast checker → · Palette generator →

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