#9FA33F#9FA33F

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

Color values

HEX#9FA33F
RGBrgb(159, 163, 63)
HSLhsl(62, 44%, 44%)
HSVhsv(62, 61%, 64%)
CMYKcmyk(2.5%, 0%, 61.3%, 36.1%)
CIE-LABlab(64.90, -14.87, 49.98)
CIE-LCHlch(64.90, 52.15, 106.57°)
OKLaboklab(69.23% -0.0447 0.1144)
OKLCHoklch(69.23% 0.123 111.4)
XYZxyz(28.2932, 33.9248, 9.7594)
Luminance0.3392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA33F #433FA3
analogous
#A3753F #9FA33F #6DA33F
triadic
#9FA33F #3F9FA3 #A33F9F
tetradic
#9FA33F #3FA375 #433FA3 #A33F6D
square
#9FA33F #3FA375 #433FA3 #A33F6D
split-complementary
#9FA33F #3F6DA3 #753FA3
monochromatic
#494B1D #74772E #9FA33F #BDC15E #CFD28A

Accessibility & contrast

On white

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

On black

7.78
#9FA33F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA33F
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA33F#FFFFFF#000000##000000
##9FA33F1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C33
Deuteranopia (green-blind)
#AF9F45
Tritanopia (blue-blind)
#A99A8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa33f;
/* rgb */ color: rgb(159, 163, 63);
/* oklch */ color: oklch(69.2% 0.123 111.4);
Tailwind
colors: {
  custom: {
    50: '#bebe78',
    500: '#9fa33f',
    950: '#000000',
  },
}
SCSS
$custom: #9fa33f;
$custom-light: #bebe78;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa33f",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 63
  },
  "hsl": {
    "h": 62.4,
    "s": 44.248,
    "l": 44.314
  },
  "oklch": {
    "l": 0.6923,
    "c": 0.12281,
    "h": 111.4
  },
  "luminance": 0.33924
}

Semantic roles & 50–950 ramp

primary
#9FA33F
secondary
#8481BD
accent
#54D459
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA33F

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

Preview Lab → · Contrast checker → · Palette generator →

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