#9FAE3A#9FAE3A

#9FAE3A is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.7% C 0.139 H 116.4°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#9FAE3A
RGBrgb(159, 174, 58)
HSLhsl(68, 50%, 45%)
HSVhsv(68, 67%, 68%)
CMYKcmyk(8.6%, 0%, 66.7%, 31.8%)
CIE-LABlab(67.98, -20.81, 55.36)
CIE-LCHlch(67.98, 59.15, 110.60°)
OKLaboklab(71.68% -0.0619 0.125)
OKLCHoklch(71.68% 0.139 116.4)
XYZxyz(30.1985, 37.9489, 9.7362)
Luminance0.3795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAE3A #493AAE
analogous
#AE833A #9FAE3A #65AE3A
triadic
#9FAE3A #3A9FAE #AE3A9F
tetradic
#9FAE3A #3AAE83 #493AAE #AE3A65
square
#9FAE3A #3AAE83 #493AAE #AE3A65
split-complementary
#9FAE3A #3A65AE #833AAE
monochromatic
#4B521B #75802B #9FAE3A #BBC95C #CED88A

Accessibility & contrast

On white

2.44
#9FAE3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#9FAE3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAE3A
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAE3A#FFFFFF#000000##000000
##9FAE3A1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA52A
Deuteranopia (green-blind)
#B8A642
Tritanopia (blue-blind)
#A9A496
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9fae3a;
/* rgb */ color: rgb(159, 174, 58);
/* oklch */ color: oklch(71.7% 0.139 116.4);
Tailwind
colors: {
  custom: {
    50: '#bec677',
    500: '#9fae3a',
    950: '#000000',
  },
}
SCSS
$custom: #9fae3a;
$custom-light: #bec677;
$custom-dark: #000000;
JSON
{
  "hex": "#9fae3a",
  "rgb": {
    "r": 159,
    "g": 174,
    "b": 58
  },
  "hsl": {
    "h": 67.759,
    "s": 50,
    "l": 45.49
  },
  "oklch": {
    "l": 0.71684,
    "c": 0.13949,
    "h": 116.4
  },
  "luminance": 0.37949
}

Semantic roles & 50–950 ramp

primary
#9FAE3A
secondary
#8A81C2
accent
#4EDA60
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9FAE3A

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

Preview Lab → · Contrast checker → · Palette generator →

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