#F4DC7C#F4DC7C

#F4DC7C is a very light, moderate yellow. Relative luminance 0.719; OKLCH L 89.4% C 0.119 H 95.7°. Best body text is #000000 at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#F4DC7C
RGBrgb(244, 220, 124)
HSLhsl(48, 85%, 72%)
HSVhsv(48, 49%, 96%)
CMYKcmyk(0%, 9.8%, 49.2%, 4.3%)
CIE-LABlab(87.91, -3.91, 49.84)
CIE-LCHlch(87.91, 49.99, 94.49°)
OKLaboklab(89.45% -0.0118 0.1189)
OKLCHoklch(89.45% 0.119 95.7)
XYZxyz(66.5416, 71.8774, 29.4335)
Luminance0.7188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4DC7C #7C94F4
analogous
#F4A07C #F4DC7C #D0F47C
triadic
#F4DC7C #7CF4DC #DC7CF4
tetradic
#F4DC7C #7CF4A0 #7C94F4 #F47CD0
square
#F4DC7C #7CF4A0 #7C94F4 #F47CD0
split-complementary
#F4DC7C #7CD0F4 #A07CF4
monochromatic
#E3B913 #EFCD44 #F4DC7C #F9EBB4 #FDF7E3

Accessibility & contrast

On white

1.37
#F4DC7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.38
#F4DC7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4DC7C
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4DC7C#FFFFFF#000000##000000
##F4DC7C1.001.3715.3815.38
#FFFFFF1.371.0021.0021.00
#00000015.3821.001.001.00
##00000015.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD874
Deuteranopia (green-blind)
#F4E080
Tritanopia (blue-blind)
#FFCFC5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f4dc7c;
/* rgb */ color: rgb(244, 220, 124);
/* oklch */ color: oklch(89.4% 0.119 95.7);
Tailwind
colors: {
  custom: {
    50: '#fae6a4',
    500: '#f4dc7c',
    950: '#000000',
  },
}
SCSS
$custom: #f4dc7c;
$custom-light: #fae6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f4dc7c",
  "rgb": {
    "r": 244,
    "g": 220,
    "b": 124
  },
  "hsl": {
    "h": 48,
    "s": 84.507,
    "l": 72.157
  },
  "oklch": {
    "l": 0.89447,
    "c": 0.11948,
    "h": 95.7
  },
  "luminance": 0.71875
}

Semantic roles & 50–950 ramp

primary
#F4DC7C
secondary
#4561CF
accent
#31E105
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F4DC7C

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

Preview Lab → · Contrast checker → · Palette generator →

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