#F9E671#F9E671

#F9E671 is a very light, vivid yellow. Relative luminance 0.779; OKLCH L 91.8% C 0.139 H 100.2°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#F9E671
RGBrgb(249, 230, 113)
HSLhsl(52, 92%, 71%)
HSVhsv(52, 55%, 98%)
CMYKcmyk(0%, 7.6%, 54.6%, 2.4%)
CIE-LABlab(90.75, -7.84, 58.47)
CIE-LCHlch(90.75, 58.99, 97.64°)
OKLaboklab(91.76% -0.0246 0.1367)
OKLCHoklch(91.76% 0.139 100.2)
XYZxyz(70.3468, 77.9283, 26.9557)
Luminance0.7793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E671 #7184F9
analogous
#F9A271 #F9E671 #C8F971
triadic
#F9E671 #71F9E6 #E671F9
tetradic
#F9E671 #71F9A2 #7184F9 #F971C8
square
#F9E671 #71F9A2 #7184F9 #F971C8
split-complementary
#F9E671 #71C8F9 #A271F9
monochromatic
#E6C70A #F7DC36 #F9E671 #FBF0AC #FEFAE2

Accessibility & contrast

On white

1.27
#F9E671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.59
#F9E671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E671
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E671#FFFFFF#000000##000000
##F9E6711.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E066
Deuteranopia (green-blind)
#FEE876
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f9e671;
/* rgb */ color: rgb(249, 230, 113);
/* oklch */ color: oklch(91.8% 0.139 100.2);
Tailwind
colors: {
  custom: {
    50: '#feed9d',
    500: '#f9e671',
    950: '#000000',
  },
}
SCSS
$custom: #f9e671;
$custom-light: #feed9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e671",
  "rgb": {
    "r": 249,
    "g": 230,
    "b": 113
  },
  "hsl": {
    "h": 51.618,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.91755,
    "c": 0.13886,
    "h": 100.2
  },
  "luminance": 0.77926
}

Semantic roles & 50–950 ramp

primary
#F9E671
secondary
#3A50D4
accent
#20E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F9E671

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

Preview Lab → · Contrast checker → · Palette generator →

#F9E671 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva