#F5DA78#F5DA78

#F5DA78 is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 89.1% C 0.122 H 94.3°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#F5DA78
RGBrgb(245, 218, 120)
HSLhsl(47, 86%, 72%)
HSVhsv(47, 51%, 96%)
CMYKcmyk(0%, 11%, 51%, 3.9%)
CIE-LABlab(87.44, -2.84, 51.21)
CIE-LCHlch(87.44, 51.29, 93.18°)
OKLaboklab(89.08% -0.0092 0.1216)
OKLCHoklch(89.08% 0.122 94.3)
XYZxyz(66.1201, 70.9142, 27.9706)
Luminance0.7091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DA78 #7893F5
analogous
#F59C78 #F5DA78 #D2F578
triadic
#F5DA78 #78F5DA #DA78F5
tetradic
#F5DA78 #78F59C #7893F5 #F578D2
square
#F5DA78 #78F59C #7893F5 #F578D2
split-complementary
#F5DA78 #78D2F5 #9C78F5
monochromatic
#E2B511 #F1CA3F #F5DA78 #F9EAB1 #FDF7E3

Accessibility & contrast

On white

1.38
#F5DA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.18
#F5DA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DA78
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DA78#FFFFFF#000000##000000
##F5DA781.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD66F
Deuteranopia (green-blind)
#F3DF7C
Tritanopia (blue-blind)
#FFCDC3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f5da78;
/* rgb */ color: rgb(245, 218, 120);
/* oklch */ color: oklch(89.1% 0.122 94.3);
Tailwind
colors: {
  custom: {
    50: '#fbe5a1',
    500: '#f5da78',
    950: '#000000',
  },
}
SCSS
$custom: #f5da78;
$custom-light: #fbe5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5da78",
  "rgb": {
    "r": 245,
    "g": 218,
    "b": 120
  },
  "hsl": {
    "h": 47.04,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.89083,
    "c": 0.12194,
    "h": 94.3
  },
  "luminance": 0.70911
}

Semantic roles & 50–950 ramp

primary
#F5DA78
secondary
#4160D0
accent
#33E303
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F5DA78

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

Preview Lab → · Contrast checker → · Palette generator →

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