#F9EF7B#F9EF7B

#F9EF7B is a very light, vivid yellow. Relative luminance 0.833; OKLCH L 93.7% C 0.138 H 104.3°. Best body text is #000000 at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#F9EF7B
RGBrgb(249, 239, 123)
HSLhsl(55, 91%, 73%)
HSVhsv(55, 51%, 98%)
CMYKcmyk(0%, 4%, 50.6%, 2.4%)
CIE-LABlab(93.15, -11.51, 56.70)
CIE-LCHlch(93.15, 57.85, 101.47°)
OKLaboklab(93.69% -0.0341 0.1338)
OKLCHoklch(93.69% 0.138 104.3)
XYZxyz(73.5106, 83.3051, 30.9423)
Luminance0.8330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EF7B #7B85F9
analogous
#F9B07B #F9EF7B #C4F97B
triadic
#F9EF7B #7BF9EF #EF7BF9
tetradic
#F9EF7B #7BF9B0 #7B85F9 #F97BC4
square
#F9EF7B #7BF9B0 #7B85F9 #F97BC4
split-complementary
#F9EF7B #7BC4F9 #B07BF9
monochromatic
#EFDD0B #F6E840 #F9EF7B #FCF6B6 #FEFBE2

Accessibility & contrast

On white

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

On black

17.66
#F9EF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EF7B
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EF7B#FFFFFF#000000##000000
##F9EF7B1.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE870
Deuteranopia (green-blind)
#FFEE81
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f9ef7b;
/* rgb */ color: rgb(249, 239, 123);
/* oklch */ color: oklch(93.7% 0.138 104.3);
Tailwind
colors: {
  custom: {
    50: '#fdf4a4',
    500: '#f9ef7b',
    950: '#000000',
  },
}
SCSS
$custom: #f9ef7b;
$custom-light: #fdf4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ef7b",
  "rgb": {
    "r": 249,
    "g": 239,
    "b": 123
  },
  "hsl": {
    "h": 55.238,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.93694,
    "c": 0.13806,
    "h": 104.3
  },
  "luminance": 0.83303
}

Semantic roles & 50–950 ramp

primary
#F9EF7B
secondary
#434ED6
accent
#12E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9EF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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