#F5DD6B#F5DD6B

#F5DD6B is a very light, vivid yellow. Relative luminance 0.722; OKLCH L 89.5% C 0.136 H 97.6°. Best body text is #000000 at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#F5DD6B
RGBrgb(245, 221, 107)
HSLhsl(50, 87%, 69%)
HSVhsv(50, 56%, 96%)
CMYKcmyk(0%, 9.8%, 56.3%, 3.9%)
CIE-LABlab(88.06, -5.39, 58.01)
CIE-LCHlch(88.06, 58.26, 95.31°)
OKLaboklab(89.53% -0.018 0.1351)
OKLCHoklch(89.53% 0.136 97.6)
XYZxyz(66.1690, 72.1897, 24.3557)
Luminance0.7219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DD6B #6B83F5
analogous
#F5986B #F5DD6B #C8F56B
triadic
#F5DD6B #6BF5DD #DD6BF5
tetradic
#F5DD6B #6BF598 #6B83F5 #F56BC8
square
#F5DD6B #6BF598 #6B83F5 #F56BC8
split-complementary
#F5DD6B #6BC8F5 #986BF5
monochromatic
#D7B40F #F1D032 #F5DD6B #F9EAA4 #FDF7DE

Accessibility & contrast

On white

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

On black

15.44
#F5DD6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DD6B
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DD6B#FFFFFF#000000##000000
##F5DD6B1.001.3615.4415.44
#FFFFFF1.361.0021.0021.00
#00000015.4421.001.001.00
##00000015.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D860
Deuteranopia (green-blind)
#F6E070
Tritanopia (blue-blind)
#FFCFC4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f5dd6b;
/* rgb */ color: rgb(245, 221, 107);
/* oklch */ color: oklch(89.5% 0.136 97.6);
Tailwind
colors: {
  custom: {
    50: '#fbe799',
    500: '#f5dd6b',
    950: '#000000',
  },
}
SCSS
$custom: #f5dd6b;
$custom-light: #fbe799;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dd6b",
  "rgb": {
    "r": 245,
    "g": 221,
    "b": 107
  },
  "hsl": {
    "h": 49.565,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.89525,
    "c": 0.1363,
    "h": 97.6
  },
  "luminance": 0.72187
}

Semantic roles & 50–950 ramp

primary
#F5DD6B
secondary
#3650CE
accent
#29E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5DD6B

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

Preview Lab → · Contrast checker → · Palette generator →

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