#F5DA7D#F5DA7D

#F5DA7D is a very light, moderate yellow. Relative luminance 0.710; OKLCH L 89.1% C 0.117 H 93.6°. Best body text is #000000 at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#F5DA7D
RGBrgb(245, 218, 125)
HSLhsl(47, 86%, 73%)
HSVhsv(47, 49%, 96%)
CMYKcmyk(0%, 11%, 49%, 3.9%)
CIE-LABlab(87.50, -2.41, 48.88)
CIE-LCHlch(87.50, 48.94, 92.82°)
OKLaboklab(89.15% -0.0074 0.1168)
OKLCHoklch(89.15% 0.117 93.6)
XYZxyz(66.4315, 71.0387, 29.6107)
Luminance0.7104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DA7D #7D98F5
analogous
#F59E7D #F5DA7D #D4F57D
triadic
#F5DA7D #7DF5DA #DA7DF5
tetradic
#F5DA7D #7DF59E #7D98F5 #F57DD4
square
#F5DA7D #7DF59E #7D98F5 #F57DD4
split-complementary
#F5DA7D #7DD4F5 #9E7DF5
monochromatic
#E6B612 #F1CA44 #F5DA7D #F9EAB6 #FDF7E3

Accessibility & contrast

On white

1.38
#F5DA7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.21
#F5DA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DA7D
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DA7D#FFFFFF#000000##000000
##F5DA7D1.001.3815.2115.21
#FFFFFF1.381.0021.0021.00
#00000015.2121.001.001.00
##00000015.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD775
Deuteranopia (green-blind)
#F2DF81
Tritanopia (blue-blind)
#FFCDC4
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f5da7d;
/* rgb */ color: rgb(245, 218, 125);
/* oklch */ color: oklch(89.1% 0.117 93.6);
Tailwind
colors: {
  custom: {
    50: '#fbe5a4',
    500: '#f5da7d',
    950: '#000000',
  },
}
SCSS
$custom: #f5da7d;
$custom-light: #fbe5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f5da7d",
  "rgb": {
    "r": 245,
    "g": 218,
    "b": 125
  },
  "hsl": {
    "h": 46.5,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.8915,
    "c": 0.11707,
    "h": 93.6
  },
  "luminance": 0.71036
}

Semantic roles & 50–950 ramp

primary
#F5DA7D
secondary
#4665D1
accent
#35E203
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F5DA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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