#9FA33A#9FA33A

#9FA33A is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.2% C 0.127 H 111.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#9FA33A
RGBrgb(159, 163, 58)
HSLhsl(62, 48%, 43%)
HSVhsv(62, 64%, 64%)
CMYKcmyk(2.5%, 0%, 64.4%, 36.1%)
CIE-LABlab(64.86, -15.21, 52.11)
CIE-LCHlch(64.86, 54.29, 106.27°)
OKLaboklab(69.18% -0.0462 0.1181)
OKLCHoklch(69.18% 0.127 111.4)
XYZxyz(28.1598, 33.8715, 9.0566)
Luminance0.3387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA33A #3E3AA3
analogous
#A3723A #9FA33A #6AA33A
triadic
#9FA33A #3A9FA3 #A33A9F
tetradic
#9FA33A #3AA372 #3E3AA3 #A33A6A
square
#9FA33A #3AA372 #3E3AA3 #A33A6A
split-complementary
#9FA33A #3A6AA3 #723AA3
monochromatic
#47491A #73762A #9FA33A #BFC357 #D0D384

Accessibility & contrast

On white

2.70
#9FA33A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#9FA33A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA33A
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA33A#FFFFFF#000000##000000
##9FA33A1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C2C
Deuteranopia (green-blind)
#B09F41
Tritanopia (blue-blind)
#AA998D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa33a;
/* rgb */ color: rgb(159, 163, 58);
/* oklch */ color: oklch(69.2% 0.127 111.4);
Tailwind
colors: {
  custom: {
    50: '#bebe76',
    500: '#9fa33a',
    950: '#000000',
  },
}
SCSS
$custom: #9fa33a;
$custom-light: #bebe76;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa33a",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 58
  },
  "hsl": {
    "h": 62.286,
    "s": 47.511,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69183,
    "c": 0.12687,
    "h": 111.4
  },
  "luminance": 0.33871
}

Semantic roles & 50–950 ramp

primary
#9FA33A
secondary
#7E7CBD
accent
#51D756
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA33A

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

Preview Lab → · Contrast checker → · Palette generator →

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