#9FAC1E#9FAC1E

#9FAC1E is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.0% C 0.153 H 115.2°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#9FAC1E
RGBrgb(159, 172, 30)
HSLhsl(65, 70%, 40%)
HSVhsv(65, 83%, 67%)
CMYKcmyk(7.6%, 0%, 82.6%, 32.5%)
CIE-LABlab(67.25, -21.15, 64.11)
CIE-LCHlch(67.25, 67.51, 108.26°)
OKLaboklab(71.05% -0.0653 0.1387)
OKLCHoklch(71.05% 0.153 115.2)
XYZxyz(29.2858, 36.9702, 6.8213)
Luminance0.3697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC1E #2B1EAC
analogous
#AC721E #9FAC1E #58AC1E
triadic
#9FAC1E #1E9FAC #AC1E9F
tetradic
#9FAC1E #1EAC72 #2B1EAC #AC1E58
square
#9FAC1E #1EAC72 #2B1EAC #AC1E58
split-complementary
#9FAC1E #1E58AC #721EAC
monochromatic
#3F440C #6F7815 #9FAC1E #CADA2D #D7E361

Accessibility & contrast

On white

2.50
#9FAC1E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#9FAC1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC1E
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC1E#FFFFFF#000000##000000
##9FAC1E1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B8A52D
Tritanopia (blue-blind)
#AAA193
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac1e;
/* rgb */ color: rgb(159, 172, 30);
/* oklch */ color: oklch(71.0% 0.153 115.2);
Tailwind
colors: {
  custom: {
    50: '#bfc469',
    500: '#9fac1e',
    950: '#000000',
  },
}
SCSS
$custom: #9fac1e;
$custom-light: #bfc469;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac1e",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 30
  },
  "hsl": {
    "h": 65.493,
    "s": 70.297,
    "l": 39.608
  },
  "oklch": {
    "l": 0.71049,
    "c": 0.15329,
    "h": 115.2
  },
  "luminance": 0.3697
}

Semantic roles & 50–950 ramp

primary
#9FAC1E
secondary
#675EC8
accent
#3BED4B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FAC1E

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

Preview Lab → · Contrast checker → · Palette generator →

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