#F7EF70#F7EF70

#F7EF70 is a very light, vivid yellow. Relative luminance 0.827; OKLCH L 93.4% C 0.148 H 105.6°. Best body text is #000000 at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#F7EF70
RGBrgb(247, 239, 112)
HSLhsl(56, 89%, 70%)
HSVhsv(56, 55%, 97%)
CMYKcmyk(0%, 3.2%, 54.7%, 3.1%)
CIE-LABlab(92.87, -13.17, 61.32)
CIE-LCHlch(92.87, 62.72, 102.12°)
OKLaboklab(93.4% -0.0399 0.1427)
OKLCHoklch(93.4% 0.148 105.6)
XYZxyz(72.1511, 82.6793, 27.4841)
Luminance0.8268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EF70 #7078F7
analogous
#F7AB70 #F7EF70 #BCF770
triadic
#F7EF70 #70F7EF #EF70F7
tetradic
#F7EF70 #70F7AB #7078F7 #F770BC
square
#F7EF70 #70F7AB #7078F7 #F770BC
split-complementary
#F7EF70 #70BCF7 #AB70F7
monochromatic
#E0D40D #F4E936 #F7EF70 #FAF5AA #FDFCE2

Accessibility & contrast

On white

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

On black

17.54
#F7EF70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EF70
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EF70#FFFFFF#000000##000000
##F7EF701.001.2017.5417.54
#FFFFFF1.201.0021.0021.00
#00000017.5421.001.001.00
##00000017.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE763
Deuteranopia (green-blind)
#FFED77
Tritanopia (blue-blind)
#FFE1D3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f7ef70;
/* rgb */ color: rgb(247, 239, 112);
/* oklch */ color: oklch(93.4% 0.148 105.6);
Tailwind
colors: {
  custom: {
    50: '#fcf49d',
    500: '#f7ef70',
    950: '#000000',
  },
}
SCSS
$custom: #f7ef70;
$custom-light: #fcf49d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ef70",
  "rgb": {
    "r": 247,
    "g": 239,
    "b": 112
  },
  "hsl": {
    "h": 56.444,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.93401,
    "c": 0.1482,
    "h": 105.6
  },
  "luminance": 0.82677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7EF70

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

Preview Lab → · Contrast checker → · Palette generator →

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