#9FA633#9FA633

#9FA633 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.8% C 0.135 H 112.8°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#9FA633
RGBrgb(159, 166, 51)
HSLhsl(64, 53%, 43%)
HSVhsv(64, 69%, 65%)
CMYKcmyk(4.2%, 0%, 69.3%, 34.9%)
CIE-LABlab(65.66, -17.18, 55.78)
CIE-LCHlch(65.66, 58.37, 107.12°)
OKLaboklab(69.8% -0.0525 0.1247)
OKLCHoklch(69.8% 0.135 112.8)
XYZxyz(28.5327, 34.8830, 8.3614)
Luminance0.3488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA633 #3A33A6
analogous
#A67333 #9FA633 #66A633
triadic
#9FA633 #339FA6 #A6339F
tetradic
#9FA633 #33A673 #3A33A6 #A63366
square
#9FA633 #33A673 #3A33A6 #A63366
split-complementary
#9FA633 #3366A6 #7333A6
monochromatic
#454816 #727725 #9FA633 #C1C94E #D1D77C

Accessibility & contrast

On white

2.63
#9FA633 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#9FA633 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA633
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA633#FFFFFF#000000##000000
##9FA6331.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E21
Deuteranopia (green-blind)
#B3A13B
Tritanopia (blue-blind)
#AA9C8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa633;
/* rgb */ color: rgb(159, 166, 51);
/* oklch */ color: oklch(69.8% 0.135 112.8);
Tailwind
colors: {
  custom: {
    50: '#bec072',
    500: '#9fa633',
    950: '#000000',
  },
}
SCSS
$custom: #9fa633;
$custom-light: #bec072;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa633",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 51
  },
  "hsl": {
    "h": 63.652,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69804,
    "c": 0.13533,
    "h": 112.8
  },
  "luminance": 0.34882
}

Semantic roles & 50–950 ramp

primary
#9FA633
secondary
#7A75C0
accent
#4BDC54
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA633

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

Preview Lab → · Contrast checker → · Palette generator →

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