#9FA634#9FA634

#9FA634 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#9FA634
RGBrgb(159, 166, 52)
HSLhsl(64, 52%, 43%)
HSVhsv(64, 69%, 65%)
CMYKcmyk(4.2%, 0%, 68.7%, 34.9%)
CIE-LABlab(65.66, -17.13, 55.40)
CIE-LCHlch(65.66, 57.98, 107.18°)
OKLaboklab(69.81% -0.0522 0.1241)
OKLCHoklch(69.81% 0.135 112.8)
XYZxyz(28.5550, 34.8919, 8.4787)
Luminance0.3489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA634 #3B34A6
analogous
#A67434 #9FA634 #66A634
triadic
#9FA634 #349FA6 #A6349F
tetradic
#9FA634 #34A674 #3B34A6 #A63466
square
#9FA634 #34A674 #3B34A6 #A63466
split-complementary
#9FA634 #3466A6 #7434A6
monochromatic
#464917 #727725 #9FA634 #C1C84F #D1D77E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA634#FFFFFF#000000##000000
##9FA6341.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)
#B29E23
Deuteranopia (green-blind)
#B2A13C
Tritanopia (blue-blind)
#AA9C8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa634;
/* rgb */ color: rgb(159, 166, 52);
/* oklch */ color: oklch(69.8% 0.135 112.8);
Tailwind
colors: {
  custom: {
    50: '#bec072',
    500: '#9fa634',
    950: '#000000',
  },
}
SCSS
$custom: #9fa634;
$custom-light: #bec072;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa634",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 52
  },
  "hsl": {
    "h": 63.684,
    "s": 52.294,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69812,
    "c": 0.13464,
    "h": 112.8
  },
  "luminance": 0.34891
}

Semantic roles & 50–950 ramp

primary
#9FA634
secondary
#7B76C0
accent
#4CDC55
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9FA634

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

Preview Lab → · Contrast checker → · Palette generator →

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