#F5DB57#F5DB57

#F5DB57 is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 88.9% C 0.151 H 98.1°. Best body text is #000000 at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#F5DB57
RGBrgb(245, 219, 87)
HSLhsl(50, 89%, 65%)
HSVhsv(50, 64%, 96%)
CMYKcmyk(0%, 10.6%, 64.5%, 3.9%)
CIE-LABlab(87.37, -5.71, 65.95)
CIE-LCHlch(87.37, 66.19, 94.94°)
OKLaboklab(88.92% -0.0212 0.1494)
OKLCHoklch(88.92% 0.151 98.1)
XYZxyz(64.7109, 70.7667, 19.2658)
Luminance0.7076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DB57 #5771F5
analogous
#F58C57 #F5DB57 #C0F557
triadic
#F5DB57 #57F5DB #DB57F5
tetradic
#F5DB57 #57F58C #5771F5 #F557C0
square
#F5DB57 #57F58C #5771F5 #F557C0
split-complementary
#F5DB57 #57C0F5 #8C57F5
monochromatic
#C6A70C #F2CF1D #F5DB57 #F8E791 #FCF4CB

Accessibility & contrast

On white

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

On black

15.15
#F5DB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DB57
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DB57#FFFFFF#000000##000000
##F5DB571.001.3915.1515.15
#FFFFFF1.391.0021.0021.00
#00000015.1521.001.001.00
##00000015.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD647
Deuteranopia (green-blind)
#F6DF5E
Tritanopia (blue-blind)
#FFCCBF
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f5db57;
/* rgb */ color: rgb(245, 219, 87);
/* oklch */ color: oklch(88.9% 0.151 98.1);
Tailwind
colors: {
  custom: {
    50: '#fce58c',
    500: '#f5db57',
    950: '#000000',
  },
}
SCSS
$custom: #f5db57;
$custom-light: #fce58c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5db57",
  "rgb": {
    "r": 245,
    "g": 219,
    "b": 87
  },
  "hsl": {
    "h": 50.127,
    "s": 88.764,
    "l": 65.098
  },
  "oklch": {
    "l": 0.88922,
    "c": 0.15093,
    "h": 98.1
  },
  "luminance": 0.70764
}

Semantic roles & 50–950 ramp

primary
#F5DB57
secondary
#2D46C3
accent
#26E500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5DB57

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

Preview Lab → · Contrast checker → · Palette generator →

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