#9FAF34#9FAF34

#9FAF34 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 71.9% C 0.145 H 116.6°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#9FAF34
RGBrgb(159, 175, 52)
HSLhsl(68, 54%, 45%)
HSVhsv(68, 70%, 69%)
CMYKcmyk(9.1%, 0%, 70.3%, 31.4%)
CIE-LABlab(68.23, -21.67, 57.96)
CIE-LCHlch(68.23, 61.88, 110.50°)
OKLaboklab(71.86% -0.0649 0.1295)
OKLCHoklch(71.86% 0.145 116.6)
XYZxyz(30.2486, 38.2792, 9.0433)
Luminance0.3828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAF34 #4434AF
analogous
#AF8234 #9FAF34 #62AF34
triadic
#9FAF34 #349FAF #AF349F
tetradic
#9FAF34 #34AF82 #4434AF #AF3462
square
#9FAF34 #34AF82 #4434AF #AF3462
split-complementary
#9FAF34 #3462AF #8234AF
monochromatic
#495118 #748026 #9FAF34 #BDCC54 #CFDA83

Accessibility & contrast

On white

2.43
#9FAF34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#9FAF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAF34
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAF34#FFFFFF#000000##000000
##9FAF341.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA620
Deuteranopia (green-blind)
#BAA73E
Tritanopia (blue-blind)
#A9A597
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9faf34;
/* rgb */ color: rgb(159, 175, 52);
/* oklch */ color: oklch(71.9% 0.145 116.6);
Tailwind
colors: {
  custom: {
    50: '#bec673',
    500: '#9faf34',
    950: '#000000',
  },
}
SCSS
$custom: #9faf34;
$custom-light: #bec673;
$custom-dark: #000000;
JSON
{
  "hex": "#9faf34",
  "rgb": {
    "r": 159,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 67.805,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71865,
    "c": 0.14485,
    "h": 116.6
  },
  "luminance": 0.38279
}

Semantic roles & 50–950 ramp

primary
#9FAF34
secondary
#857BC4
accent
#4ADE5D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #9FAF34

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

Preview Lab → · Contrast checker → · Palette generator →

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