#F7EF74#F7EF74

#F7EF74 is a very light, vivid yellow. Relative luminance 0.828; OKLCH L 93.4% C 0.145 H 105.5°. Best body text is #000000 at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#F7EF74
RGBrgb(247, 239, 116)
HSLhsl(56, 89%, 71%)
HSVhsv(56, 53%, 97%)
CMYKcmyk(0%, 3.2%, 53%, 3.1%)
CIE-LABlab(92.91, -12.86, 59.57)
CIE-LCHlch(92.91, 60.95, 102.19°)
OKLaboklab(93.45% -0.0386 0.1394)
OKLCHoklch(93.45% 0.145 105.5)
XYZxyz(72.3788, 82.7703, 28.6832)
Luminance0.8277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EF74 #747CF7
analogous
#F7AD74 #F7EF74 #BDF774
triadic
#F7EF74 #74F7EF #EF74F7
tetradic
#F7EF74 #74F7AD #747CF7 #F774BD
square
#F7EF74 #74F7AD #747CF7 #F774BD
split-complementary
#F7EF74 #74BDF7 #AD74F7
monochromatic
#E4D60D #F4E83A #F7EF74 #FAF6AE #FDFCE2

Accessibility & contrast

On white

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

On black

17.55
#F7EF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EF74
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EF74#FFFFFF#000000##000000
##F7EF741.001.2017.5517.55
#FFFFFF1.201.0021.0021.00
#00000017.5521.001.001.00
##00000017.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE768
Deuteranopia (green-blind)
#FFED7A
Tritanopia (blue-blind)
#FFE1D3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f7ef74;
/* rgb */ color: rgb(247, 239, 116);
/* oklch */ color: oklch(93.4% 0.145 105.5);
Tailwind
colors: {
  custom: {
    50: '#fcf49f',
    500: '#f7ef74',
    950: '#000000',
  },
}
SCSS
$custom: #f7ef74;
$custom-light: #fcf49f;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ef74",
  "rgb": {
    "r": 247,
    "g": 239,
    "b": 116
  },
  "hsl": {
    "h": 56.336,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.93446,
    "c": 0.14463,
    "h": 105.5
  },
  "luminance": 0.82768
}

Semantic roles & 50–950 ramp

primary
#F7EF74
secondary
#3D46D2
accent
#0EE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F7EF74

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

Preview Lab → · Contrast checker → · Palette generator →

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