#F5DB56#F5DB56

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

Color values

HEX#F5DB56
RGBrgb(245, 219, 86)
HSLhsl(50, 89%, 65%)
HSVhsv(50, 65%, 96%)
CMYKcmyk(0%, 10.6%, 64.9%, 3.9%)
CIE-LABlab(87.36, -5.76, 66.35)
CIE-LCHlch(87.36, 66.60, 94.96°)
OKLaboklab(88.91% -0.0214 0.1501)
OKLCHoklch(88.91% 0.152 98.1)
XYZxyz(64.6703, 70.7504, 19.0521)
Luminance0.7075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DB56 #5670F5
analogous
#F58C56 #F5DB56 #BFF556
triadic
#F5DB56 #56F5DB #DB56F5
tetradic
#F5DB56 #56F58C #5670F5 #F556BF
square
#F5DB56 #56F58C #5670F5 #F556BF
split-complementary
#F5DB56 #56BFF5 #8C56F5
monochromatic
#C5A70C #F2CF1C #F5DB56 #F8E790 #FCF4CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5DB56#FFFFFF#000000##000000
##F5DB561.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)
#EFD645
Deuteranopia (green-blind)
#F6DF5D
Tritanopia (blue-blind)
#FFCCBF
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f5db56;
/* rgb */ color: rgb(245, 219, 86);
/* oklch */ color: oklch(88.9% 0.152 98.1);
Tailwind
colors: {
  custom: {
    50: '#fce58c',
    500: '#f5db56',
    950: '#000000',
  },
}
SCSS
$custom: #f5db56;
$custom-light: #fce58c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5db56",
  "rgb": {
    "r": 245,
    "g": 219,
    "b": 86
  },
  "hsl": {
    "h": 50.189,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.88913,
    "c": 0.15166,
    "h": 98.1
  },
  "luminance": 0.70747
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5DB56

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

Preview Lab → · Contrast checker → · Palette generator →

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