#F5DB62#F5DB62

#F5DB62 is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 89.0% C 0.142 H 97.2°. Best body text is #000000 at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#F5DB62
RGBrgb(245, 219, 98)
HSLhsl(49, 88%, 67%)
HSVhsv(49, 60%, 96%)
CMYKcmyk(0%, 10.6%, 60%, 3.9%)
CIE-LABlab(87.47, -5.02, 61.36)
CIE-LCHlch(87.47, 61.56, 94.67°)
OKLaboklab(89.03% -0.018 0.1412)
OKLCHoklch(89.03% 0.142 97.2)
XYZxyz(65.1950, 70.9603, 21.8155)
Luminance0.7096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DB62 #627CF5
analogous
#F59262 #F5DB62 #C5F562
triadic
#F5DB62 #62F5DB #DB62F5
tetradic
#F5DB62 #62F592 #627CF5 #F562C5
square
#F5DB62 #62F592 #627CF5 #F562C5
split-complementary
#F5DB62 #62C5F5 #9262F5
monochromatic
#CFAD0D #F1CE28 #F5DB62 #F9E89C #FCF5D5

Accessibility & contrast

On white

1.38
#F5DB62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.19
#F5DB62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DB62
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DB62#FFFFFF#000000##000000
##F5DB621.001.3815.1915.19
#FFFFFF1.381.0021.0021.00
#00000015.1921.001.001.00
##00000015.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD655
Deuteranopia (green-blind)
#F5DF68
Tritanopia (blue-blind)
#FFCCC1
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f5db62;
/* rgb */ color: rgb(245, 219, 98);
/* oklch */ color: oklch(89.0% 0.142 97.2);
Tailwind
colors: {
  custom: {
    50: '#fce593',
    500: '#f5db62',
    950: '#000000',
  },
}
SCSS
$custom: #f5db62;
$custom-light: #fce593;
$custom-dark: #000000;
JSON
{
  "hex": "#f5db62",
  "rgb": {
    "r": 245,
    "g": 219,
    "b": 98
  },
  "hsl": {
    "h": 49.388,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.89026,
    "c": 0.14236,
    "h": 97.2
  },
  "luminance": 0.70957
}

Semantic roles & 50–950 ramp

primary
#F5DB62
secondary
#304CCB
accent
#29E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5DB62

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

Preview Lab → · Contrast checker → · Palette generator →

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