#F4EF5A#F4EF5A

#F4EF5A is a very light, vivid yellow. Relative luminance 0.817; OKLCH L 92.9% C 0.166 H 107.4°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#F4EF5A
RGBrgb(244, 239, 90)
HSLhsl(58, 88%, 65%)
HSVhsv(58, 63%, 96%)
CMYKcmyk(0%, 2%, 63.1%, 4.3%)
CIE-LABlab(92.45, -15.85, 70.06)
CIE-LCHlch(92.45, 71.83, 102.75°)
OKLaboklab(92.94% -0.0496 0.1586)
OKLCHoklch(92.94% 0.166 107.4)
XYZxyz(70.0226, 81.7065, 21.7533)
Luminance0.8170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4EF5A #5A5FF4
analogous
#F4A25A #F4EF5A #ACF45A
triadic
#F4EF5A #5AF4EF #EF5AF4
tetradic
#F4EF5A #5AF4A2 #5A5FF4 #F45AAC
square
#F4EF5A #5AF4A2 #5A5FF4 #F45AAC
split-complementary
#F4EF5A #5AACF4 #A25AF4
monochromatic
#C6C00D #F0E921 #F4EF5A #F8F593 #FCFACD

Accessibility & contrast

On white

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

On black

17.34
#F4EF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4EF5A
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4EF5A#FFFFFF#000000##000000
##F4EF5A1.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE647
Deuteranopia (green-blind)
#FFEC63
Tritanopia (blue-blind)
#FFE0D0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f4ef5a;
/* rgb */ color: rgb(244, 239, 90);
/* oklch */ color: oklch(92.9% 0.166 107.4);
Tailwind
colors: {
  custom: {
    50: '#fbf48f',
    500: '#f4ef5a',
    950: '#000000',
  },
}
SCSS
$custom: #f4ef5a;
$custom-light: #fbf48f;
$custom-dark: #000000;
JSON
{
  "hex": "#f4ef5a",
  "rgb": {
    "r": 244,
    "g": 239,
    "b": 90
  },
  "hsl": {
    "h": 58.052,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.92941,
    "c": 0.16619,
    "h": 107.4
  },
  "luminance": 0.81704
}

Semantic roles & 50–950 ramp

primary
#F4EF5A
secondary
#2F34C3
accent
#09E401
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F4EF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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