#F4DF5C#F4DF5C

#F4DF5C is a very light, vivid yellow. Relative luminance 0.728; OKLCH L 89.7% C 0.150 H 100.2°. Best body text is #000000 at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#F4DF5C
RGBrgb(244, 223, 92)
HSLhsl(52, 87%, 66%)
HSVhsv(52, 62%, 96%)
CMYKcmyk(0%, 8.6%, 62.3%, 4.3%)
CIE-LABlab(88.34, -7.83, 64.88)
CIE-LCHlch(88.34, 65.35, 96.88°)
OKLaboklab(89.69% -0.0266 0.1479)
OKLCHoklch(89.69% 0.15 100.2)
XYZxyz(65.6303, 72.7840, 20.7148)
Luminance0.7278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4DF5C #5C71F4
analogous
#F4935C #F4DF5C #BDF45C
triadic
#F4DF5C #5CF4DF #DF5CF4
tetradic
#F4DF5C #5CF493 #5C71F4 #F45CBD
square
#F4DF5C #5CF493 #5C71F4 #F45CBD
split-complementary
#F4DF5C #5CBDF4 #935CF4
monochromatic
#C8AE0E #F0D423 #F4DF5C #F8EA95 #FCF6CF

Accessibility & contrast

On white

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

On black

15.56
#F4DF5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4DF5C
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4DF5C#FFFFFF#000000##000000
##F4DF5C1.001.3515.5615.56
#FFFFFF1.351.0021.0021.00
#00000015.5621.001.001.00
##00000015.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f4df5c;
/* rgb */ color: rgb(244, 223, 92);
/* oklch */ color: oklch(89.7% 0.150 100.2);
Tailwind
colors: {
  custom: {
    50: '#fbe88f',
    500: '#f4df5c',
    950: '#000000',
  },
}
SCSS
$custom: #f4df5c;
$custom-light: #fbe88f;
$custom-dark: #000000;
JSON
{
  "hex": "#f4df5c",
  "rgb": {
    "r": 244,
    "g": 223,
    "b": 92
  },
  "hsl": {
    "h": 51.711,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.89685,
    "c": 0.1503,
    "h": 100.2
  },
  "luminance": 0.72781
}

Semantic roles & 50–950 ramp

primary
#F4DF5C
secondary
#2F44C5
accent
#21E402
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F4DF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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