#F5DD7E#F5DD7E

#F5DD7E is a very light, moderate yellow. Relative luminance 0.726; OKLCH L 89.8% C 0.118 H 95.6°. Best body text is #000000 at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#F5DD7E
RGBrgb(245, 221, 126)
HSLhsl(48, 86%, 73%)
HSVhsv(48, 49%, 96%)
CMYKcmyk(0%, 9.8%, 48.6%, 3.9%)
CIE-LABlab(88.27, -3.84, 49.34)
CIE-LCHlch(88.27, 49.49, 94.45°)
OKLaboklab(89.76% -0.0115 0.1179)
OKLCHoklch(89.76% 0.118 95.6)
XYZxyz(67.2807, 72.6344, 30.2105)
Luminance0.7263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DD7E #7E96F5
analogous
#F5A17E #F5DD7E #D2F57E
triadic
#F5DD7E #7EF5DD #DD7EF5
tetradic
#F5DD7E #7EF5A1 #7E96F5 #F57ED2
square
#F5DD7E #7EF5A1 #7E96F5 #F57ED2
split-complementary
#F5DD7E #7ED2F5 #A17EF5
monochromatic
#E7BC12 #F1CE45 #F5DD7E #F9ECB7 #FDF8E3

Accessibility & contrast

On white

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

On black

15.53
#F5DD7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DD7E
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DD7E#FFFFFF#000000##000000
##F5DD7E1.001.3515.5315.53
#FFFFFF1.351.0021.0021.00
#00000015.5321.001.001.00
##00000015.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5dd7e;
/* rgb */ color: rgb(245, 221, 126);
/* oklch */ color: oklch(89.8% 0.118 95.6);
Tailwind
colors: {
  custom: {
    50: '#fae7a5',
    500: '#f5dd7e',
    950: '#000000',
  },
}
SCSS
$custom: #f5dd7e;
$custom-light: #fae7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dd7e",
  "rgb": {
    "r": 245,
    "g": 221,
    "b": 126
  },
  "hsl": {
    "h": 47.899,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.89762,
    "c": 0.11848,
    "h": 95.6
  },
  "luminance": 0.72632
}

Semantic roles & 50–950 ramp

primary
#F5DD7E
secondary
#4662D1
accent
#30E203
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F5DD7E

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

Preview Lab → · Contrast checker → · Palette generator →

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