#9FA434#9FA434

#9FA434 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.4% C 0.132 H 111.9°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#9FA434
RGBrgb(159, 164, 52)
HSLhsl(63, 52%, 42%)
HSVhsv(63, 68%, 64%)
CMYKcmyk(3%, 0%, 68.3%, 35.7%)
CIE-LABlab(65.10, -16.10, 54.82)
CIE-LCHlch(65.10, 57.14, 106.36°)
OKLaboklab(69.36% -0.0494 0.1229)
OKLCHoklch(69.36% 0.132 111.9)
XYZxyz(28.1942, 34.1704, 8.3585)
Luminance0.3417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA434 #3934A4
analogous
#A47134 #9FA434 #67A434
triadic
#9FA434 #349FA4 #A4349F
tetradic
#9FA434 #34A471 #3934A4 #A43467
square
#9FA434 #34A471 #3934A4 #A43467
split-complementary
#9FA434 #3467A4 #7134A4
monochromatic
#454717 #727625 #9FA434 #C2C74E #D2D67D

Accessibility & contrast

On white

2.68
#9FA434 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#9FA434 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA434
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA434#FFFFFF#000000##000000
##9FA4341.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D23
Deuteranopia (green-blind)
#B19F3C
Tritanopia (blue-blind)
#AA9A8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa434;
/* rgb */ color: rgb(159, 164, 52);
/* oklch */ color: oklch(69.4% 0.132 111.9);
Tailwind
colors: {
  custom: {
    50: '#bebe72',
    500: '#9fa434',
    950: '#000000',
  },
}
SCSS
$custom: #9fa434;
$custom-light: #bebe72;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa434",
  "rgb": {
    "r": 159,
    "g": 164,
    "b": 52
  },
  "hsl": {
    "h": 62.679,
    "s": 51.852,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69358,
    "c": 0.13244,
    "h": 111.9
  },
  "luminance": 0.3417
}

Semantic roles & 50–950 ramp

primary
#9FA434
secondary
#7875BF
accent
#4CDB53
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9FA434

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

Preview Lab → · Contrast checker → · Palette generator →

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