#F7DF70#F7DF70

#F7DF70 is a very light, vivid yellow. Relative luminance 0.737; OKLCH L 90.2% C 0.134 H 97.3°. Best body text is #000000 at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#F7DF70
RGBrgb(247, 223, 112)
HSLhsl(49, 89%, 70%)
HSVhsv(49, 55%, 97%)
CMYKcmyk(0%, 9.7%, 54.7%, 3.1%)
CIE-LABlab(88.79, -5.21, 56.61)
CIE-LCHlch(88.79, 56.85, 95.26°)
OKLaboklab(90.16% -0.0171 0.1326)
OKLCHoklch(90.16% 0.134 97.3)
XYZxyz(67.6725, 73.7222, 25.9913)
Luminance0.7372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DF70 #7088F7
analogous
#F79B70 #F7DF70 #CCF770
triadic
#F7DF70 #70F7DF #DF70F7
tetradic
#F7DF70 #70F79B #7088F7 #F770CC
square
#F7DF70 #70F79B #7088F7 #F770CC
split-complementary
#F7DF70 #70CCF7 #9B70F7
monochromatic
#E0BA0D #F4D236 #F7DF70 #FAECAA #FDF9E2

Accessibility & contrast

On white

1.33
#F7DF70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.74
#F7DF70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DF70
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DF70#FFFFFF#000000##000000
##F7DF701.001.3315.7415.74
#FFFFFF1.331.0021.0021.00
#00000015.7421.001.001.00
##00000015.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA65
Deuteranopia (green-blind)
#F8E375
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f7df70;
/* rgb */ color: rgb(247, 223, 112);
/* oklch */ color: oklch(90.2% 0.134 97.3);
Tailwind
colors: {
  custom: {
    50: '#fce89c',
    500: '#f7df70',
    950: '#000000',
  },
}
SCSS
$custom: #f7df70;
$custom-light: #fce89c;
$custom-dark: #000000;
JSON
{
  "hex": "#f7df70",
  "rgb": {
    "r": 247,
    "g": 223,
    "b": 112
  },
  "hsl": {
    "h": 49.333,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.90161,
    "c": 0.13367,
    "h": 97.3
  },
  "luminance": 0.73719
}

Semantic roles & 50–950 ramp

primary
#F7DF70
secondary
#3A55D2
accent
#29E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7DF70

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

Preview Lab → · Contrast checker → · Palette generator →

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