#9FA61D#9FA61D

#9FA61D is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.7% C 0.147 H 112.8°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#9FA61D
RGBrgb(159, 166, 29)
HSLhsl(63, 70%, 38%)
HSVhsv(63, 83%, 65%)
CMYKcmyk(4.2%, 0%, 82.5%, 34.9%)
CIE-LABlab(65.54, -18.15, 62.89)
CIE-LCHlch(65.54, 65.46, 106.10°)
OKLaboklab(69.67% -0.0571 0.1359)
OKLCHoklch(69.67% 0.147 112.8)
XYZxyz(28.1570, 34.7327, 6.3830)
Luminance0.3473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA61D #241DA6
analogous
#A6681D #9FA61D #5AA61D
triadic
#9FA61D #1D9FA6 #A61D9F
tetradic
#9FA61D #1DA668 #241DA6 #A61D5A
square
#9FA61D #1DA668 #241DA6 #A61D5A
split-complementary
#9FA61D #1D5AA6 #681DA6
monochromatic
#3B3E0B #6D7214 #9FA61D #D0D927 #DBE25B

Accessibility & contrast

On white

2.64
#9FA61D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#9FA61D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA61D
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA61D#FFFFFF#000000##000000
##9FA61D1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B3A12B
Tritanopia (blue-blind)
#AA9B8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa61d;
/* rgb */ color: rgb(159, 166, 29);
/* oklch */ color: oklch(69.7% 0.147 112.8);
Tailwind
colors: {
  custom: {
    50: '#bfc068',
    500: '#9fa61d',
    950: '#000000',
  },
}
SCSS
$custom: #9fa61d;
$custom-light: #bfc068;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa61d",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 29
  },
  "hsl": {
    "h": 63.066,
    "s": 70.256,
    "l": 38.235
  },
  "oklch": {
    "l": 0.69672,
    "c": 0.14741,
    "h": 112.8
  },
  "luminance": 0.34732
}

Semantic roles & 50–950 ramp

primary
#9FA61D
secondary
#5E59C6
accent
#3BED44
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA61D

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

Preview Lab → · Contrast checker → · Palette generator →

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