#F5DD7A#F5DD7A

#F5DD7A is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.7% C 0.122 H 96.1°. Best body text is #000000 at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#F5DD7A
RGBrgb(245, 221, 122)
HSLhsl(48, 86%, 72%)
HSVhsv(48, 50%, 96%)
CMYKcmyk(0%, 9.8%, 50.2%, 3.9%)
CIE-LABlab(88.22, -4.19, 51.20)
CIE-LCHlch(88.22, 51.37, 94.68°)
OKLaboklab(89.71% -0.0129 0.1217)
OKLCHoklch(89.71% 0.122 96.1)
XYZxyz(67.0277, 72.5332, 28.8782)
Luminance0.7253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DD7A #7A92F5
analogous
#F5A07A #F5DD7A #CFF57A
triadic
#F5DD7A #7AF5DD #DD7AF5
tetradic
#F5DD7A #7AF5A0 #7A92F5 #F57ACF
square
#F5DD7A #7AF5A0 #7A92F5 #F57ACF
split-complementary
#F5DD7A #7ACFF5 #A07AF5
monochromatic
#E3BA11 #F1CE41 #F5DD7A #F9ECB3 #FDF8E3

Accessibility & contrast

On white

1.35
#F5DD7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.51
#F5DD7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DD7A
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DD7A#FFFFFF#000000##000000
##F5DD7A1.001.3515.5115.51
#FFFFFF1.351.0021.0021.00
#00000015.5121.001.001.00
##00000015.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD971
Deuteranopia (green-blind)
#F5E17E
Tritanopia (blue-blind)
#FFD0C6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f5dd7a;
/* rgb */ color: rgb(245, 221, 122);
/* oklch */ color: oklch(89.7% 0.122 96.1);
Tailwind
colors: {
  custom: {
    50: '#fbe7a2',
    500: '#f5dd7a',
    950: '#000000',
  },
}
SCSS
$custom: #f5dd7a;
$custom-light: #fbe7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dd7a",
  "rgb": {
    "r": 245,
    "g": 221,
    "b": 122
  },
  "hsl": {
    "h": 48.293,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.89708,
    "c": 0.1224,
    "h": 96.1
  },
  "luminance": 0.72531
}

Semantic roles & 50–950 ramp

primary
#F5DD7A
secondary
#435ED0
accent
#2FE303
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5DD7A

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

Preview Lab → · Contrast checker → · Palette generator →

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