#9FA829#9FA829

#9FA829 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.2% C 0.144 H 113.7°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#9FA829
RGBrgb(159, 168, 41)
HSLhsl(64, 61%, 41%)
HSVhsv(64, 76%, 66%)
CMYKcmyk(5.4%, 0%, 75.6%, 34.1%)
CIE-LABlab(66.16, -18.71, 59.88)
CIE-LCHlch(66.16, 62.74, 107.35°)
OKLaboklab(70.19% -0.0577 0.1316)
OKLCHoklch(70.19% 0.144 113.7)
XYZxyz(28.7018, 35.5369, 7.4447)
Luminance0.3554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA829 #3229A8
analogous
#A87129 #9FA829 #5FA829
triadic
#9FA829 #299FA8 #A8299F
tetradic
#9FA829 #29A871 #3229A8 #A8295F
square
#9FA829 #29A871 #3229A8 #A8295F
split-complementary
#9FA829 #295FA8 #7129A8
monochromatic
#424611 #70771D #9FA829 #C6D03E #D4DC6F

Accessibility & contrast

On white

2.59
#9FA829 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#9FA829 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA829
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA829#FFFFFF#000000##000000
##9FA8291.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A00A
Deuteranopia (green-blind)
#B5A234
Tritanopia (blue-blind)
#AA9E90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa829;
/* rgb */ color: rgb(159, 168, 41);
/* oklch */ color: oklch(70.2% 0.144 113.7);
Tailwind
colors: {
  custom: {
    50: '#bfc16d',
    500: '#9fa829',
    950: '#000000',
  },
}
SCSS
$custom: #9fa829;
$custom-light: #bfc16d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa829",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 41
  },
  "hsl": {
    "h": 64.252,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.7019,
    "c": 0.14372,
    "h": 113.7
  },
  "luminance": 0.35536
}

Semantic roles & 50–950 ramp

primary
#9FA829
secondary
#706AC3
accent
#44E44F
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA829

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

Preview Lab → · Contrast checker → · Palette generator →

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