#9FA334#9FA334

#9FA334 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.1% C 0.131 H 111.4°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#9FA334
RGBrgb(159, 163, 52)
HSLhsl(62, 52%, 42%)
HSVhsv(62, 68%, 64%)
CMYKcmyk(2.5%, 0%, 68.1%, 36.1%)
CIE-LABlab(64.81, -15.58, 54.54)
CIE-LCHlch(64.81, 56.72, 105.95°)
OKLaboklab(69.13% -0.0479 0.1223)
OKLCHoklch(69.13% 0.131 111.4)
XYZxyz(28.0160, 33.8139, 8.2991)
Luminance0.3381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA334 #3834A3
analogous
#A37034 #9FA334 #68A334
triadic
#9FA334 #349FA3 #A3349F
tetradic
#9FA334 #34A370 #3834A3 #A33468
square
#9FA334 #34A370 #3834A3 #A33468
split-complementary
#9FA334 #3468A3 #7034A3
monochromatic
#444616 #727525 #9FA334 #C2C64E #D2D57C

Accessibility & contrast

On white

2.71
#9FA334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#9FA334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA334
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA334#FFFFFF#000000##000000
##9FA3341.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fa334;
/* rgb */ color: rgb(159, 163, 52);
/* oklch */ color: oklch(69.1% 0.131 111.4);
Tailwind
colors: {
  custom: {
    50: '#bebe72',
    500: '#9fa334',
    950: '#000000',
  },
}
SCSS
$custom: #9fa334;
$custom-light: #bebe72;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa334",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 52
  },
  "hsl": {
    "h": 62.162,
    "s": 51.628,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69132,
    "c": 0.13134,
    "h": 111.4
  },
  "luminance": 0.33813
}

Semantic roles & 50–950 ramp

primary
#9FA334
secondary
#7775BE
accent
#4DDB52
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9FA334

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

Preview Lab → · Contrast checker → · Palette generator →

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