#F5DE56#F5DE56

#F5DE56 is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 89.5% C 0.154 H 99.6°. Best body text is #000000 at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#F5DE56
RGBrgb(245, 222, 86)
HSLhsl(51, 89%, 65%)
HSVhsv(51, 65%, 96%)
CMYKcmyk(0%, 9.4%, 64.9%, 3.9%)
CIE-LABlab(88.13, -7.27, 67.15)
CIE-LCHlch(88.13, 67.55, 96.18°)
OKLaboklab(89.52% -0.0258 0.1518)
OKLCHoklch(89.52% 0.154 99.6)
XYZxyz(65.4600, 72.3298, 19.3153)
Luminance0.7233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DE56 #566DF5
analogous
#F58F56 #F5DE56 #BCF556
triadic
#F5DE56 #56F5DE #DE56F5
tetradic
#F5DE56 #56F58F #566DF5 #F556BC
square
#F5DE56 #56F58F #566DF5 #F556BC
split-complementary
#F5DE56 #56BCF5 #8F56F5
monochromatic
#C5AA0C #F2D31C #F5DE56 #F8E990 #FCF5CA

Accessibility & contrast

On white

1.36
#F5DE56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.47
#F5DE56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DE56
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DE56#FFFFFF#000000##000000
##F5DE561.001.3615.4715.47
#FFFFFF1.361.0021.0021.00
#00000015.4721.001.001.00
##00000015.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D845
Deuteranopia (green-blind)
#F8E15E
Tritanopia (blue-blind)
#FFCFC2
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f5de56;
/* rgb */ color: rgb(245, 222, 86);
/* oklch */ color: oklch(89.5% 0.154 99.6);
Tailwind
colors: {
  custom: {
    50: '#fce78c',
    500: '#f5de56',
    950: '#000000',
  },
}
SCSS
$custom: #f5de56;
$custom-light: #fce78c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5de56",
  "rgb": {
    "r": 245,
    "g": 222,
    "b": 86
  },
  "hsl": {
    "h": 51.321,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.89518,
    "c": 0.15401,
    "h": 99.6
  },
  "luminance": 0.72327
}

Semantic roles & 50–950 ramp

primary
#F5DE56
secondary
#2D43C2
accent
#21E500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #F5DE56

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

Preview Lab → · Contrast checker → · Palette generator →

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