#F7DC7E#F7DC7E

#F7DC7E is a very light, moderate yellow. Relative luminance 0.725; OKLCH L 89.7% C 0.118 H 93.8°. Best body text is #000000 at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#F7DC7E
RGBrgb(247, 220, 126)
HSLhsl(47, 88%, 73%)
HSVhsv(47, 49%, 97%)
CMYKcmyk(0%, 10.9%, 49%, 3.1%)
CIE-LABlab(88.19, -2.54, 49.28)
CIE-LCHlch(88.19, 49.34, 92.95°)
OKLaboklab(89.74% -0.0078 0.1178)
OKLCHoklch(89.74% 0.118 93.8)
XYZxyz(67.7191, 72.4698, 30.1556)
Luminance0.7247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DC7E #7E99F7
analogous
#F7A07E #F7DC7E #D5F77E
triadic
#F7DC7E #7EF7DC #DC7EF7
tetradic
#F7DC7E #7EF7A0 #7E99F7 #F77ED5
square
#F7DC7E #7EF7A0 #7E99F7 #F77ED5
split-complementary
#F7DC7E #7ED5F7 #A07EF7
monochromatic
#ECBB0F #F3CC44 #F7DC7E #FBECB8 #FDF7E2

Accessibility & contrast

On white

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

On black

15.49
#F7DC7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DC7E
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DC7E#FFFFFF#000000##000000
##F7DC7E1.001.3615.4915.49
#FFFFFF1.361.0021.0021.00
#00000015.4921.001.001.00
##00000015.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7dc7e;
/* rgb */ color: rgb(247, 220, 126);
/* oklch */ color: oklch(89.7% 0.118 93.8);
Tailwind
colors: {
  custom: {
    50: '#fce6a5',
    500: '#f7dc7e',
    950: '#000000',
  },
}
SCSS
$custom: #f7dc7e;
$custom-light: #fce6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f7dc7e",
  "rgb": {
    "r": 247,
    "g": 220,
    "b": 126
  },
  "hsl": {
    "h": 46.612,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.89741,
    "c": 0.11803,
    "h": 93.8
  },
  "luminance": 0.72467
}

Semantic roles & 50–950 ramp

primary
#F7DC7E
secondary
#4665D3
accent
#34E501
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F7DC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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