#F5DB78#F5DB78

#F5DB78 is a very light, vivid yellow. Relative luminance 0.714; OKLCH L 89.3% C 0.123 H 95.0°. Best body text is #000000 at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#F5DB78
RGBrgb(245, 219, 120)
HSLhsl(48, 86%, 72%)
HSVhsv(48, 51%, 96%)
CMYKcmyk(0%, 10.6%, 51%, 3.9%)
CIE-LABlab(87.70, -3.35, 51.52)
CIE-LCHlch(87.70, 51.62, 93.72°)
OKLaboklab(89.28% -0.0107 0.1223)
OKLCHoklch(89.28% 0.123 95)
XYZxyz(66.3802, 71.4344, 28.0573)
Luminance0.7143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DB78 #7892F5
analogous
#F59D78 #F5DB78 #D1F578
triadic
#F5DB78 #78F5DB #DB78F5
tetradic
#F5DB78 #78F59D #7892F5 #F578D1
square
#F5DB78 #78F59D #7892F5 #F578D1
split-complementary
#F5DB78 #78D1F5 #9D78F5
monochromatic
#E2B611 #F1CC3F #F5DB78 #F9EAB1 #FDF7E3

Accessibility & contrast

On white

1.37
#F5DB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.29
#F5DB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DB78
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DB78#FFFFFF#000000##000000
##F5DB781.001.3715.2915.29
#FFFFFF1.371.0021.0021.00
#00000015.2921.001.001.00
##00000015.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD76F
Deuteranopia (green-blind)
#F4DF7C
Tritanopia (blue-blind)
#FFCEC4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f5db78;
/* rgb */ color: rgb(245, 219, 120);
/* oklch */ color: oklch(89.3% 0.123 95.0);
Tailwind
colors: {
  custom: {
    50: '#fbe5a1',
    500: '#f5db78',
    950: '#000000',
  },
}
SCSS
$custom: #f5db78;
$custom-light: #fbe5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5db78",
  "rgb": {
    "r": 245,
    "g": 219,
    "b": 120
  },
  "hsl": {
    "h": 47.52,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.89282,
    "c": 0.12272,
    "h": 95
  },
  "luminance": 0.71432
}

Semantic roles & 50–950 ramp

primary
#F5DB78
secondary
#415FD0
accent
#31E303
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F5DB78

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

Preview Lab → · Contrast checker → · Palette generator →

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