#F5DD6E#F5DD6E

#F5DD6E is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 89.6% C 0.134 H 97.3°. Best body text is #000000 at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#F5DD6E
RGBrgb(245, 221, 110)
HSLhsl(49, 87%, 70%)
HSVhsv(49, 55%, 96%)
CMYKcmyk(0%, 9.8%, 55.1%, 3.9%)
CIE-LABlab(88.09, -5.17, 56.67)
CIE-LCHlch(88.09, 56.91, 95.21°)
OKLaboklab(89.56% -0.017 0.1325)
OKLCHoklch(89.56% 0.134 97.3)
XYZxyz(66.3296, 72.2540, 25.2014)
Luminance0.7225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DD6E #6E86F5
analogous
#F5996E #F5DD6E #CAF56E
triadic
#F5DD6E #6EF5DD #DD6EF5
tetradic
#F5DD6E #6EF599 #6E86F5 #F56ECA
square
#F5DD6E #6EF599 #6E86F5 #F56ECA
split-complementary
#F5DD6E #6ECAF5 #996EF5
monochromatic
#DAB60F #F1D035 #F5DD6E #F9EAA7 #FDF8E1

Accessibility & contrast

On white

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

On black

15.45
#F5DD6E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DD6E
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DD6E#FFFFFF#000000##000000
##F5DD6E1.001.3615.4515.45
#FFFFFF1.361.0021.0021.00
#00000015.4521.001.001.00
##00000015.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5dd6e;
/* rgb */ color: rgb(245, 221, 110);
/* oklch */ color: oklch(89.6% 0.134 97.3);
Tailwind
colors: {
  custom: {
    50: '#fbe79b',
    500: '#f5dd6e',
    950: '#000000',
  },
}
SCSS
$custom: #f5dd6e;
$custom-light: #fbe79b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dd6e",
  "rgb": {
    "r": 245,
    "g": 221,
    "b": 110
  },
  "hsl": {
    "h": 49.333,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89559,
    "c": 0.13363,
    "h": 97.3
  },
  "luminance": 0.72251
}

Semantic roles & 50–950 ramp

primary
#F5DD6E
secondary
#3853CF
accent
#2AE402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5DD6E

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

Preview Lab → · Contrast checker → · Palette generator →

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