#F7DD70#F7DD70

#F7DD70 is a very light, vivid yellow. Relative luminance 0.727; OKLCH L 89.8% C 0.132 H 96.2°. Best body text is #000000 at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#F7DD70
RGBrgb(247, 221, 112)
HSLhsl(48, 89%, 70%)
HSVhsv(48, 55%, 97%)
CMYKcmyk(0%, 10.5%, 54.7%, 3.1%)
CIE-LABlab(88.29, -4.20, 56.02)
CIE-LCHlch(88.29, 56.18, 94.29°)
OKLaboklab(89.76% -0.0141 0.1313)
OKLCHoklch(89.76% 0.132 96.2)
XYZxyz(67.1414, 72.6598, 25.8142)
Luminance0.7266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DD70 #708AF7
analogous
#F79970 #F7DD70 #CEF770
triadic
#F7DD70 #70F7DD #DD70F7
tetradic
#F7DD70 #70F799 #708AF7 #F770CE
square
#F7DD70 #70F799 #708AF7 #F770CE
split-complementary
#F7DD70 #70CEF7 #9970F7
monochromatic
#E0B70D #F4CF36 #F7DD70 #FAEBAA #FDF8E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7DD70#FFFFFF#000000##000000
##F7DD701.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)
#F0D966
Deuteranopia (green-blind)
#F7E175
Tritanopia (blue-blind)
#FFCFC4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f7dd70;
/* rgb */ color: rgb(247, 221, 112);
/* oklch */ color: oklch(89.8% 0.132 96.2);
Tailwind
colors: {
  custom: {
    50: '#fce79c',
    500: '#f7dd70',
    950: '#000000',
  },
}
SCSS
$custom: #f7dd70;
$custom-light: #fce79c;
$custom-dark: #000000;
JSON
{
  "hex": "#f7dd70",
  "rgb": {
    "r": 247,
    "g": 221,
    "b": 112
  },
  "hsl": {
    "h": 48.444,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89761,
    "c": 0.13206,
    "h": 96.2
  },
  "luminance": 0.72657
}

Semantic roles & 50–950 ramp

primary
#F7DD70
secondary
#3A57D2
accent
#2CE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7DD70

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

Preview Lab → · Contrast checker → · Palette generator →

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