#F5DA62#F5DA62

#F5DA62 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.8% C 0.142 H 96.7°. Best body text is #000000 at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#F5DA62
RGBrgb(245, 218, 98)
HSLhsl(49, 88%, 67%)
HSVhsv(49, 60%, 96%)
CMYKcmyk(0%, 11%, 60%, 3.9%)
CIE-LABlab(87.21, -4.51, 61.08)
CIE-LCHlch(87.21, 61.24, 94.22°)
OKLaboklab(88.83% -0.0165 0.1406)
OKLCHoklch(88.83% 0.142 96.7)
XYZxyz(64.9349, 70.4401, 21.7288)
Luminance0.7044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DA62 #627DF5
analogous
#F59162 #F5DA62 #C6F562
triadic
#F5DA62 #62F5DA #DA62F5
tetradic
#F5DA62 #62F591 #627DF5 #F562C6
square
#F5DA62 #62F591 #627DF5 #F562C6
split-complementary
#F5DA62 #62C6F5 #9162F5
monochromatic
#CFAC0D #F1CC28 #F5DA62 #F9E89C #FCF5D5

Accessibility & contrast

On white

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

On black

15.09
#F5DA62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DA62
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DA62#FFFFFF#000000##000000
##F5DA621.001.3915.0915.09
#FFFFFF1.391.0021.0021.00
#00000015.0921.001.001.00
##00000015.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED555
Deuteranopia (green-blind)
#F5DE68
Tritanopia (blue-blind)
#FFCBC0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f5da62;
/* rgb */ color: rgb(245, 218, 98);
/* oklch */ color: oklch(88.8% 0.142 96.7);
Tailwind
colors: {
  custom: {
    50: '#fce593',
    500: '#f5da62',
    950: '#000000',
  },
}
SCSS
$custom: #f5da62;
$custom-light: #fce593;
$custom-dark: #000000;
JSON
{
  "hex": "#f5da62",
  "rgb": {
    "r": 245,
    "g": 218,
    "b": 98
  },
  "hsl": {
    "h": 48.98,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.88826,
    "c": 0.14158,
    "h": 96.7
  },
  "luminance": 0.70437
}

Semantic roles & 50–950 ramp

primary
#F5DA62
secondary
#304DCB
accent
#2BE501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5DA62

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

Preview Lab → · Contrast checker → · Palette generator →

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