#F5DF74#F5DF74

#F5DF74 is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 90.0% C 0.130 H 97.9°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#F5DF74
RGBrgb(245, 223, 116)
HSLhsl(50, 87%, 71%)
HSVhsv(50, 53%, 96%)
CMYKcmyk(0%, 9%, 52.7%, 3.9%)
CIE-LABlab(88.66, -5.70, 54.56)
CIE-LCHlch(88.66, 54.86, 95.97°)
OKLaboklab(90.03% -0.0179 0.1286)
OKLCHoklch(90.03% 0.13 97.9)
XYZxyz(67.1985, 73.4515, 27.1575)
Luminance0.7345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DF74 #748AF5
analogous
#F59E74 #F5DF74 #CBF574
triadic
#F5DF74 #74F5DF #DF74F5
tetradic
#F5DF74 #74F59E #748AF5 #F574CB
square
#F5DF74 #74F59E #748AF5 #F574CB
split-complementary
#F5DF74 #74CBF5 #9E74F5
monochromatic
#DFBB10 #F1D23B #F5DF74 #F9ECAD #FDF8E2

Accessibility & contrast

On white

1.34
#F5DF74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.69
#F5DF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DF74
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DF74#FFFFFF#000000##000000
##F5DF741.001.3415.6915.69
#FFFFFF1.341.0021.0021.00
#00000015.6921.001.001.00
##00000015.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA6A
Deuteranopia (green-blind)
#F7E279
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f5df74;
/* rgb */ color: rgb(245, 223, 116);
/* oklch */ color: oklch(90.0% 0.130 97.9);
Tailwind
colors: {
  custom: {
    50: '#fbe89f',
    500: '#f5df74',
    950: '#000000',
  },
}
SCSS
$custom: #f5df74;
$custom-light: #fbe89f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5df74",
  "rgb": {
    "r": 245,
    "g": 223,
    "b": 116
  },
  "hsl": {
    "h": 49.767,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90033,
    "c": 0.12979,
    "h": 97.9
  },
  "luminance": 0.73449
}

Semantic roles & 50–950 ramp

primary
#F5DF74
secondary
#3E57D0
accent
#29E302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5DF74

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

Preview Lab → · Contrast checker → · Palette generator →

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