#F5DA56#F5DA56

#F5DA56 is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.7% C 0.151 H 97.6°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#F5DA56
RGBrgb(245, 218, 86)
HSLhsl(50, 89%, 65%)
HSVhsv(50, 65%, 96%)
CMYKcmyk(0%, 11%, 64.9%, 3.9%)
CIE-LABlab(87.11, -5.26, 66.08)
CIE-LCHlch(87.11, 66.29, 94.55°)
OKLaboklab(88.71% -0.02 0.1496)
OKLCHoklch(88.71% 0.151 97.6)
XYZxyz(64.4102, 70.2302, 18.9654)
Luminance0.7023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DA56 #5671F5
analogous
#F58A56 #F5DA56 #C1F556
triadic
#F5DA56 #56F5DA #DA56F5
tetradic
#F5DA56 #56F58A #5671F5 #F556C1
square
#F5DA56 #56F58A #5671F5 #F556C1
split-complementary
#F5DA56 #56C1F5 #8A56F5
monochromatic
#C5A50C #F2CD1C #F5DA56 #F8E790 #FCF3CA

Accessibility & contrast

On white

1.40
#F5DA56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.05
#F5DA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DA56
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DA56#FFFFFF#000000##000000
##F5DA561.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED546
Deuteranopia (green-blind)
#F6DE5D
Tritanopia (blue-blind)
#FFCBBE
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f5da56;
/* rgb */ color: rgb(245, 218, 86);
/* oklch */ color: oklch(88.7% 0.151 97.6);
Tailwind
colors: {
  custom: {
    50: '#fce58b',
    500: '#f5da56',
    950: '#000000',
  },
}
SCSS
$custom: #f5da56;
$custom-light: #fce58b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5da56",
  "rgb": {
    "r": 245,
    "g": 218,
    "b": 86
  },
  "hsl": {
    "h": 49.811,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.88712,
    "c": 0.1509,
    "h": 97.6
  },
  "luminance": 0.70227
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5DA56

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

Preview Lab → · Contrast checker → · Palette generator →

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