#F5DB50#F5DB50

#F5DB50 is a very light, vivid yellow. Relative luminance 0.707; OKLCH L 88.9% C 0.156 H 98.5°. Best body text is #000000 at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#F5DB50
RGBrgb(245, 219, 80)
HSLhsl(51, 89%, 64%)
HSVhsv(51, 67%, 96%)
CMYKcmyk(0%, 10.6%, 67.3%, 3.9%)
CIE-LABlab(87.32, -6.09, 68.71)
CIE-LCHlch(87.32, 68.98, 95.07°)
OKLaboklab(88.86% -0.0231 0.1542)
OKLCHoklch(88.86% 0.156 98.5)
XYZxyz(64.4386, 70.6578, 17.8320)
Luminance0.7066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DB50 #506AF5
analogous
#F58850 #F5DB50 #BDF550
triadic
#F5DB50 #50F5DB #DB50F5
tetradic
#F5DB50 #50F588 #506AF5 #F550BD
square
#F5DB50 #50F588 #506AF5 #F550BD
split-complementary
#F5DB50 #50BDF5 #8850F5
monochromatic
#C0A30B #F2CF16 #F5DB50 #F8E78A #FCF3C4

Accessibility & contrast

On white

1.39
#F5DB50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.13
#F5DB50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DB50
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DB50#FFFFFF#000000##000000
##F5DB501.001.3915.1315.13
#FFFFFF1.391.0021.0021.00
#00000015.1321.001.001.00
##00000015.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63D
Deuteranopia (green-blind)
#F7DF58
Tritanopia (blue-blind)
#FFCBBF
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f5db50;
/* rgb */ color: rgb(245, 219, 80);
/* oklch */ color: oklch(88.9% 0.156 98.5);
Tailwind
colors: {
  custom: {
    50: '#fce588',
    500: '#f5db50',
    950: '#000000',
  },
}
SCSS
$custom: #f5db50;
$custom-light: #fce588;
$custom-dark: #000000;
JSON
{
  "hex": "#f5db50",
  "rgb": {
    "r": 245,
    "g": 219,
    "b": 80
  },
  "hsl": {
    "h": 50.545,
    "s": 89.189,
    "l": 63.725
  },
  "oklch": {
    "l": 0.88863,
    "c": 0.1559,
    "h": 98.5
  },
  "luminance": 0.70655
}

Semantic roles & 50–950 ramp

primary
#F5DB50
secondary
#2C43BD
accent
#24E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5DB50

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

Preview Lab → · Contrast checker → · Palette generator →

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