#F4DF5A#F4DF5A

#F4DF5A is a very light, vivid yellow. Relative luminance 0.727; OKLCH L 89.7% C 0.152 H 100.3°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#F4DF5A
RGBrgb(244, 223, 90)
HSLhsl(52, 88%, 65%)
HSVhsv(52, 63%, 96%)
CMYKcmyk(0%, 8.6%, 63.1%, 4.3%)
CIE-LABlab(88.33, -7.95, 65.70)
CIE-LCHlch(88.33, 66.17, 96.90°)
OKLaboklab(89.67% -0.0272 0.1494)
OKLCHoklch(89.67% 0.152 100.3)
XYZxyz(65.5441, 72.7494, 20.2604)
Luminance0.7275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4DF5A #5A6FF4
analogous
#F4925A #F4DF5A #BCF45A
triadic
#F4DF5A #5AF4DF #DF5AF4
tetradic
#F4DF5A #5AF492 #5A6FF4 #F45ABC
square
#F4DF5A #5AF492 #5A6FF4 #F45ABC
split-complementary
#F4DF5A #5ABCF4 #925AF4
monochromatic
#C6AD0D #F0D421 #F4DF5A #F8EA93 #FCF5CD

Accessibility & contrast

On white

1.35
#F4DF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.55
#F4DF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4DF5A
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4DF5A#FFFFFF#000000##000000
##F4DF5A1.001.3515.5515.55
#FFFFFF1.351.0021.0021.00
#00000015.5521.001.001.00
##00000015.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D94A
Deuteranopia (green-blind)
#F9E161
Tritanopia (blue-blind)
#FFD0C3
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f4df5a;
/* rgb */ color: rgb(244, 223, 90);
/* oklch */ color: oklch(89.7% 0.152 100.3);
Tailwind
colors: {
  custom: {
    50: '#fbe88e',
    500: '#f4df5a',
    950: '#000000',
  },
}
SCSS
$custom: #f4df5a;
$custom-light: #fbe88e;
$custom-dark: #000000;
JSON
{
  "hex": "#f4df5a",
  "rgb": {
    "r": 244,
    "g": 223,
    "b": 90
  },
  "hsl": {
    "h": 51.818,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.89667,
    "c": 0.15183,
    "h": 100.3
  },
  "luminance": 0.72747
}

Semantic roles & 50–950 ramp

primary
#F4DF5A
secondary
#2F43C3
accent
#20E401
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F4DF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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