#F9EF7E#F9EF7E

#F9EF7E is a very light, vivid yellow. Relative luminance 0.834; OKLCH L 93.7% C 0.135 H 104.2°. Best body text is #000000 at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#F9EF7E
RGBrgb(249, 239, 126)
HSLhsl(55, 91%, 74%)
HSVhsv(55, 49%, 98%)
CMYKcmyk(0%, 4%, 49.4%, 2.4%)
CIE-LABlab(93.18, -11.25, 55.35)
CIE-LCHlch(93.18, 56.48, 101.49°)
OKLaboklab(93.73% -0.0331 0.1311)
OKLCHoklch(93.73% 0.135 104.2)
XYZxyz(73.7013, 83.3814, 31.9465)
Luminance0.8338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EF7E #7E88F9
analogous
#F9B17E #F9EF7E #C5F97E
triadic
#F9EF7E #7EF9EF #EF7EF9
tetradic
#F9EF7E #7EF9B1 #7E88F9 #F97EC5
square
#F9EF7E #7EF9B1 #7E88F9 #F97EC5
split-complementary
#F9EF7E #7EC5F9 #B17EF9
monochromatic
#F1DF0B #F6E844 #F9EF7E #FCF6B8 #FEFBE2

Accessibility & contrast

On white

1.19
#F9EF7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.68
#F9EF7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EF7E
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EF7E#FFFFFF#000000##000000
##F9EF7E1.001.1917.6817.68
#FFFFFF1.191.0021.0021.00
#00000017.6821.001.001.00
##00000017.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE874
Deuteranopia (green-blind)
#FFEE83
Tritanopia (blue-blind)
#FFE2D5
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f9ef7e;
/* rgb */ color: rgb(249, 239, 126);
/* oklch */ color: oklch(93.7% 0.135 104.2);
Tailwind
colors: {
  custom: {
    50: '#fdf4a6',
    500: '#f9ef7e',
    950: '#000000',
  },
}
SCSS
$custom: #f9ef7e;
$custom-light: #fdf4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ef7e",
  "rgb": {
    "r": 249,
    "g": 239,
    "b": 126
  },
  "hsl": {
    "h": 55.122,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.93732,
    "c": 0.1352,
    "h": 104.2
  },
  "luminance": 0.83379
}

Semantic roles & 50–950 ramp

primary
#F9EF7E
secondary
#4551D6
accent
#13E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9EF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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