#F9EB72#F9EB72

#F9EB72 is a very light, vivid yellow. Relative luminance 0.808; OKLCH L 92.8% C 0.142 H 102.7°. Best body text is #000000 at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#F9EB72
RGBrgb(249, 235, 114)
HSLhsl(54, 92%, 71%)
HSVhsv(54, 54%, 98%)
CMYKcmyk(0%, 5.6%, 54.2%, 2.4%)
CIE-LABlab(92.03, -10.25, 59.50)
CIE-LCHlch(92.03, 60.37, 99.77°)
OKLaboklab(92.78% -0.0314 0.139)
OKLCHoklch(92.78% 0.143 102.7)
XYZxyz(71.8148, 80.7738, 27.7243)
Luminance0.8077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EB72 #7280F9
analogous
#F9A772 #F9EB72 #C3F972
triadic
#F9EB72 #72F9EB #EB72F9
tetradic
#F9EB72 #72F9A7 #7280F9 #F972C3
square
#F9EB72 #72F9A7 #7280F9 #F972C3
split-complementary
#F9EB72 #72C3F9 #A772F9
monochromatic
#E7D00A #F7E337 #F9EB72 #FBF3AD #FEFBE2

Accessibility & contrast

On white

1.22
#F9EB72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.15
#F9EB72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EB72
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EB72#FFFFFF#000000##000000
##F9EB721.001.2217.1517.15
#FFFFFF1.221.0021.0021.00
#00000017.1521.001.001.00
##00000017.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE466
Deuteranopia (green-blind)
#FFEB78
Tritanopia (blue-blind)
#FFDDD0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f9eb72;
/* rgb */ color: rgb(249, 235, 114);
/* oklch */ color: oklch(92.8% 0.142 102.7);
Tailwind
colors: {
  custom: {
    50: '#fef19e',
    500: '#f9eb72',
    950: '#000000',
  },
}
SCSS
$custom: #f9eb72;
$custom-light: #fef19e;
$custom-dark: #000000;
JSON
{
  "hex": "#f9eb72",
  "rgb": {
    "r": 249,
    "g": 235,
    "b": 114
  },
  "hsl": {
    "h": 53.778,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.92777,
    "c": 0.1425,
    "h": 102.7
  },
  "luminance": 0.80771
}

Semantic roles & 50–950 ramp

primary
#F9EB72
secondary
#3B4BD4
accent
#18E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F9EB72

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

Preview Lab → · Contrast checker → · Palette generator →

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