#F5DD6F#F5DD6F

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

Color values

HEX#F5DD6F
RGBrgb(245, 221, 111)
HSLhsl(49, 87%, 70%)
HSVhsv(49, 55%, 96%)
CMYKcmyk(0%, 9.8%, 54.7%, 3.9%)
CIE-LABlab(88.10, -5.09, 56.22)
CIE-LCHlch(88.10, 56.45, 95.17°)
OKLaboklab(89.57% -0.0167 0.1317)
OKLCHoklch(89.57% 0.133 97.2)
XYZxyz(66.3843, 72.2759, 25.4897)
Luminance0.7227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DD6F #6F87F5
analogous
#F59A6F #F5DD6F #CAF56F
triadic
#F5DD6F #6FF5DD #DD6FF5
tetradic
#F5DD6F #6FF59A #6F87F5 #F56FCA
square
#F5DD6F #6FF59A #6F87F5 #F56FCA
split-complementary
#F5DD6F #6FCAF5 #9A6FF5
monochromatic
#DAB60F #F1CF36 #F5DD6F #F9EBA8 #FDF8E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5DD6F#FFFFFF#000000##000000
##F5DD6F1.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)
#F0D865
Deuteranopia (green-blind)
#F6E174
Tritanopia (blue-blind)
#FFCFC4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f5dd6f;
/* rgb */ color: rgb(245, 221, 111);
/* oklch */ color: oklch(89.6% 0.133 97.2);
Tailwind
colors: {
  custom: {
    50: '#fbe79b',
    500: '#f5dd6f',
    950: '#000000',
  },
}
SCSS
$custom: #f5dd6f;
$custom-light: #fbe79b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dd6f",
  "rgb": {
    "r": 245,
    "g": 221,
    "b": 111
  },
  "hsl": {
    "h": 49.254,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.89571,
    "c": 0.13273,
    "h": 97.2
  },
  "luminance": 0.72273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5DD6F

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

Preview Lab → · Contrast checker → · Palette generator →

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