#F7EF6C#F7EF6C

#F7EF6C is a very light, vivid yellow. Relative luminance 0.826; OKLCH L 93.4% C 0.152 H 105.7°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#F7EF6C
RGBrgb(247, 239, 108)
HSLhsl(57, 90%, 70%)
HSVhsv(57, 56%, 97%)
CMYKcmyk(0%, 3.2%, 56.3%, 3.1%)
CIE-LABlab(92.84, -13.47, 63.03)
CIE-LCHlch(92.84, 64.46, 102.06°)
OKLaboklab(93.36% -0.0411 0.146)
OKLCHoklch(93.36% 0.152 105.7)
XYZxyz(71.9333, 82.5922, 26.3372)
Luminance0.8259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EF6C #6C74F7
analogous
#F7AA6C #F7EF6C #B9F76C
triadic
#F7EF6C #6CF7EF #EF6CF7
tetradic
#F7EF6C #6CF7AA #6C74F7 #F76CB9
square
#F7EF6C #6CF7AA #6C74F7 #F76CB9
split-complementary
#F7EF6C #6CB9F7 #AA6CF7
monochromatic
#DDD10C #F4E932 #F7EF6C #FAF5A6 #FDFCE0

Accessibility & contrast

On white

1.20
#F7EF6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.52
#F7EF6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EF6C
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EF6C#FFFFFF#000000##000000
##F7EF6C1.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE75E
Deuteranopia (green-blind)
#FFED73
Tritanopia (blue-blind)
#FFE1D2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f7ef6c;
/* rgb */ color: rgb(247, 239, 108);
/* oklch */ color: oklch(93.4% 0.152 105.7);
Tailwind
colors: {
  custom: {
    50: '#fdf49a',
    500: '#f7ef6c',
    950: '#000000',
  },
}
SCSS
$custom: #f7ef6c;
$custom-light: #fdf49a;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ef6c",
  "rgb": {
    "r": 247,
    "g": 239,
    "b": 108
  },
  "hsl": {
    "h": 56.547,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.93358,
    "c": 0.15166,
    "h": 105.7
  },
  "luminance": 0.8259
}

Semantic roles & 50–950 ramp

primary
#F7EF6C
secondary
#363FD1
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7EF6C

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

Preview Lab → · Contrast checker → · Palette generator →

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