#9FAE2D#9FAE2D

#9FAE2D is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.6% C 0.148 H 116.1°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#9FAE2D
RGBrgb(159, 174, 45)
HSLhsl(67, 59%, 43%)
HSVhsv(67, 74%, 68%)
CMYKcmyk(8.6%, 0%, 74.1%, 31.8%)
CIE-LABlab(67.90, -21.54, 60.16)
CIE-LCHlch(67.90, 63.90, 109.70°)
OKLaboklab(71.59% -0.0652 0.1329)
OKLCHoklch(71.59% 0.148 116.1)
XYZxyz(29.9086, 37.8329, 8.2090)
Luminance0.3783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAE2D #3C2DAE
analogous
#AE7D2D #9FAE2D #5EAE2D
triadic
#9FAE2D #2D9FAE #AE2D9F
tetradic
#9FAE2D #2DAE7D #3C2DAE #AE2D5E
square
#9FAE2D #2DAE7D #3C2DAE #AE2D5E
split-complementary
#9FAE2D #2D5EAE #7D2DAE
monochromatic
#464D14 #737D20 #9FAE2D #C0D048 #D1DC79

Accessibility & contrast

On white

2.45
#9FAE2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#9FAE2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAE2D
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAE2D#FFFFFF#000000##000000
##9FAE2D1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA512
Deuteranopia (green-blind)
#B9A638
Tritanopia (blue-blind)
#A9A495
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9fae2d;
/* rgb */ color: rgb(159, 174, 45);
/* oklch */ color: oklch(71.6% 0.148 116.1);
Tailwind
colors: {
  custom: {
    50: '#bfc670',
    500: '#9fae2d',
    950: '#000000',
  },
}
SCSS
$custom: #9fae2d;
$custom-light: #bfc670;
$custom-dark: #000000;
JSON
{
  "hex": "#9fae2d",
  "rgb": {
    "r": 159,
    "g": 174,
    "b": 45
  },
  "hsl": {
    "h": 66.977,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71588,
    "c": 0.14806,
    "h": 116.1
  },
  "luminance": 0.37832
}

Semantic roles & 50–950 ramp

primary
#9FAE2D
secondary
#7C72C4
accent
#46E258
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FAE2D

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

Preview Lab → · Contrast checker → · Palette generator →

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