#F9ED70#F9ED70

#F9ED70 is a very light, vivid yellow. Relative luminance 0.819; OKLCH L 93.2% C 0.146 H 103.8°. Best body text is #000000 at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#F9ED70
RGBrgb(249, 237, 112)
HSLhsl(55, 92%, 71%)
HSVhsv(55, 55%, 98%)
CMYKcmyk(0%, 4.8%, 55%, 2.4%)
CIE-LABlab(92.52, -11.39, 60.96)
CIE-LCHlch(92.52, 62.01, 100.58°)
OKLaboklab(93.16% -0.0349 0.1419)
OKLCHoklch(93.16% 0.146 103.8)
XYZxyz(72.2780, 81.8804, 27.3233)
Luminance0.8188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9ED70 #707CF9
analogous
#F9A970 #F9ED70 #C0F970
triadic
#F9ED70 #70F9ED #ED70F9
tetradic
#F9ED70 #70F9A9 #707CF9 #F970C0
square
#F9ED70 #70F9A9 #707CF9 #F970C0
split-complementary
#F9ED70 #70C0F9 #A970F9
monochromatic
#E5D20A #F7E635 #F9ED70 #FBF4AB #FEFBE2

Accessibility & contrast

On white

1.21
#F9ED70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.38
#F9ED70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9ED70
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9ED70#FFFFFF#000000##000000
##F9ED701.001.2117.3817.38
#FFFFFF1.211.0021.0021.00
#00000017.3821.001.001.00
##00000017.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE663
Deuteranopia (green-blind)
#FFEC76
Tritanopia (blue-blind)
#FFDFD1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f9ed70;
/* rgb */ color: rgb(249, 237, 112);
/* oklch */ color: oklch(93.2% 0.146 103.8);
Tailwind
colors: {
  custom: {
    50: '#fef29d',
    500: '#f9ed70',
    950: '#000000',
  },
}
SCSS
$custom: #f9ed70;
$custom-light: #fef29d;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ed70",
  "rgb": {
    "r": 249,
    "g": 237,
    "b": 112
  },
  "hsl": {
    "h": 54.745,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.9316,
    "c": 0.14615,
    "h": 103.8
  },
  "luminance": 0.81878
}

Semantic roles & 50–950 ramp

primary
#F9ED70
secondary
#3947D4
accent
#14E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F9ED70

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

Preview Lab → · Contrast checker → · Palette generator →

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