#F5DB74#F5DB74

#F5DB74 is a very light, vivid yellow. Relative luminance 0.713; OKLCH L 89.2% C 0.127 H 95.5°. Best body text is #000000 at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#F5DB74
RGBrgb(245, 219, 116)
HSLhsl(48, 87%, 71%)
HSVhsv(48, 53%, 96%)
CMYKcmyk(0%, 10.6%, 52.7%, 3.9%)
CIE-LABlab(87.65, -3.68, 53.36)
CIE-LCHlch(87.65, 53.48, 93.95°)
OKLaboklab(89.23% -0.0121 0.1259)
OKLCHoklch(89.23% 0.127 95.5)
XYZxyz(66.1425, 71.3393, 26.8055)
Luminance0.7134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DB74 #748EF5
analogous
#F59A74 #F5DB74 #CEF574
triadic
#F5DB74 #74F5DB #DB74F5
tetradic
#F5DB74 #74F59A #748EF5 #F574CE
square
#F5DB74 #74F59A #748EF5 #F574CE
split-complementary
#F5DB74 #74CEF5 #9A74F5
monochromatic
#DFB510 #F1CC3B #F5DB74 #F9EAAD #FDF8E2

Accessibility & contrast

On white

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

On black

15.27
#F5DB74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DB74
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DB74#FFFFFF#000000##000000
##F5DB741.001.3815.2715.27
#FFFFFF1.381.0021.0021.00
#00000015.2721.001.001.00
##00000015.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD76B
Deuteranopia (green-blind)
#F4DF78
Tritanopia (blue-blind)
#FFCDC3
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f5db74;
/* rgb */ color: rgb(245, 219, 116);
/* oklch */ color: oklch(89.2% 0.127 95.5);
Tailwind
colors: {
  custom: {
    50: '#fbe59e',
    500: '#f5db74',
    950: '#000000',
  },
}
SCSS
$custom: #f5db74;
$custom-light: #fbe59e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5db74",
  "rgb": {
    "r": 245,
    "g": 219,
    "b": 116
  },
  "hsl": {
    "h": 47.907,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.89231,
    "c": 0.12652,
    "h": 95.5
  },
  "luminance": 0.71336
}

Semantic roles & 50–950 ramp

primary
#F5DB74
secondary
#3E5BD0
accent
#30E302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F5DB74

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

Preview Lab → · Contrast checker → · Palette generator →

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