#F7ED70#F7ED70

#F7ED70 is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 93.0% C 0.146 H 104.7°. Best body text is #000000 at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#F7ED70
RGBrgb(247, 237, 112)
HSLhsl(56, 89%, 70%)
HSVhsv(56, 55%, 97%)
CMYKcmyk(0%, 4%, 54.7%, 3.1%)
CIE-LABlab(92.36, -12.19, 60.73)
CIE-LCHlch(92.36, 61.94, 101.35°)
OKLaboklab(92.99% -0.0371 0.1415)
OKLCHoklch(92.99% 0.146 104.7)
XYZxyz(71.5688, 81.5147, 27.2900)
Luminance0.8151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7ED70 #707AF7
analogous
#F7AA70 #F7ED70 #BDF770
triadic
#F7ED70 #70F7ED #ED70F7
tetradic
#F7ED70 #70F7AA #707AF7 #F770BD
square
#F7ED70 #70F7AA #707AF7 #F770BD
split-complementary
#F7ED70 #70BDF7 #AA70F7
monochromatic
#E0D00D #F4E636 #F7ED70 #FAF4AA #FDFBE2

Accessibility & contrast

On white

1.21
#F7ED70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.30
#F7ED70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7ED70
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7ED70#FFFFFF#000000##000000
##F7ED701.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE663
Deuteranopia (green-blind)
#FFEC76
Tritanopia (blue-blind)
#FFDFD1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f7ed70;
/* rgb */ color: rgb(247, 237, 112);
/* oklch */ color: oklch(93.0% 0.146 104.7);
Tailwind
colors: {
  custom: {
    50: '#fcf29d',
    500: '#f7ed70',
    950: '#000000',
  },
}
SCSS
$custom: #f7ed70;
$custom-light: #fcf29d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ed70",
  "rgb": {
    "r": 247,
    "g": 237,
    "b": 112
  },
  "hsl": {
    "h": 55.556,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.92993,
    "c": 0.14625,
    "h": 104.7
  },
  "luminance": 0.81512
}

Semantic roles & 50–950 ramp

primary
#F7ED70
secondary
#3A45D2
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F7ED70

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

Preview Lab → · Contrast checker → · Palette generator →

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