#F9E672#F9E672

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

Color values

HEX#F9E672
RGBrgb(249, 230, 114)
HSLhsl(52, 92%, 71%)
HSVhsv(52, 54%, 98%)
CMYKcmyk(0%, 7.6%, 54.2%, 2.4%)
CIE-LABlab(90.76, -7.76, 58.02)
CIE-LCHlch(90.76, 58.54, 97.62°)
OKLaboklab(91.77% -0.0243 0.1358)
OKLCHoklch(91.77% 0.138 100.1)
XYZxyz(70.4034, 77.9510, 27.2539)
Luminance0.7795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E672 #7285F9
analogous
#F9A272 #F9E672 #C8F972
triadic
#F9E672 #72F9E6 #E672F9
tetradic
#F9E672 #72F9A2 #7285F9 #F972C8
square
#F9E672 #72F9A2 #7285F9 #F972C8
split-complementary
#F9E672 #72C8F9 #A272F9
monochromatic
#E7C80A #F7DC37 #F9E672 #FBF0AD #FEFAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F9E672#FFFFFF#000000##000000
##F9E6721.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)
#F8E067
Deuteranopia (green-blind)
#FEE877
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f9e672;
/* rgb */ color: rgb(249, 230, 114);
/* oklch */ color: oklch(91.8% 0.138 100.1);
Tailwind
colors: {
  custom: {
    50: '#feed9e',
    500: '#f9e672',
    950: '#000000',
  },
}
SCSS
$custom: #f9e672;
$custom-light: #feed9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e672",
  "rgb": {
    "r": 249,
    "g": 230,
    "b": 114
  },
  "hsl": {
    "h": 51.556,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91766,
    "c": 0.13796,
    "h": 100.1
  },
  "luminance": 0.77948
}

Semantic roles & 50–950 ramp

primary
#F9E672
secondary
#3B50D4
accent
#20E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F9E672

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

Preview Lab → · Contrast checker → · Palette generator →

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