#F9EF57#F9EF57

#F9EF57 is a very light, vivid yellow. Relative luminance 0.826; OKLCH L 93.3% C 0.168 H 105.6°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#F9EF57
RGBrgb(249, 239, 87)
HSLhsl(56, 93%, 66%)
HSVhsv(56, 65%, 98%)
CMYKcmyk(0%, 4%, 65.1%, 2.4%)
CIE-LABlab(92.82, -14.00, 71.75)
CIE-LCHlch(92.82, 73.10, 101.04°)
OKLaboklab(93.33% -0.045 0.1616)
OKLCHoklch(93.33% 0.168 105.6)
XYZxyz(71.6564, 82.5634, 21.1768)
Luminance0.8256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EF57 #5761F9
analogous
#F99E57 #F9EF57 #B2F957
triadic
#F9EF57 #57F9EF #EF57F9
tetradic
#F9EF57 #57F99E #5761F9 #F957B2
square
#F9EF57 #57F99E #5761F9 #F957B2
split-complementary
#F9EF57 #57B2F9 #9E57F9
monochromatic
#CEC207 #F7E91C #F9EF57 #FBF592 #FDFACD

Accessibility & contrast

On white

1.20
#F9EF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.51
#F9EF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EF57
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EF57#FFFFFF#000000##000000
##F9EF571.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE742
Deuteranopia (green-blind)
#FFED60
Tritanopia (blue-blind)
#FFE0D0
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f9ef57;
/* rgb */ color: rgb(249, 239, 87);
/* oklch */ color: oklch(93.3% 0.168 105.6);
Tailwind
colors: {
  custom: {
    50: '#fff38e',
    500: '#f9ef57',
    950: '#000000',
  },
}
SCSS
$custom: #f9ef57;
$custom-light: #fff38e;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ef57",
  "rgb": {
    "r": 249,
    "g": 239,
    "b": 87
  },
  "hsl": {
    "h": 56.296,
    "s": 93.103,
    "l": 65.882
  },
  "oklch": {
    "l": 0.93332,
    "c": 0.16774,
    "h": 105.6
  },
  "luminance": 0.82561
}

Semantic roles & 50–950 ramp

primary
#F9EF57
secondary
#2B34CA
accent
#0EE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F9EF57

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

Preview Lab → · Contrast checker → · Palette generator →

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