#F7E070#F7E070

#F7E070 is a very light, vivid yellow. Relative luminance 0.743; OKLCH L 90.4% C 0.135 H 97.9°. Best body text is #000000 at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#F7E070
RGBrgb(247, 224, 112)
HSLhsl(50, 89%, 70%)
HSVhsv(50, 55%, 97%)
CMYKcmyk(0%, 9.3%, 54.7%, 3.1%)
CIE-LABlab(89.04, -5.72, 56.90)
CIE-LCHlch(89.04, 57.19, 95.74°)
OKLaboklab(90.36% -0.0185 0.1332)
OKLCHoklch(90.36% 0.135 97.9)
XYZxyz(67.9405, 74.2581, 26.0806)
Luminance0.7426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E070 #7087F7
analogous
#F79C70 #F7E070 #CAF770
triadic
#F7E070 #70F7E0 #E070F7
tetradic
#F7E070 #70F79C #7087F7 #F770CA
square
#F7E070 #70F79C #7087F7 #F770CA
split-complementary
#F7E070 #70CAF7 #9C70F7
monochromatic
#E0BC0D #F4D336 #F7E070 #FAEDAA #FDF9E2

Accessibility & contrast

On white

1.32
#F7E070 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.85
#F7E070 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E070
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E070#FFFFFF#000000##000000
##F7E0701.001.3215.8515.85
#FFFFFF1.321.0021.0021.00
#00000015.8521.001.001.00
##00000015.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB65
Deuteranopia (green-blind)
#F9E375
Tritanopia (blue-blind)
#FFD2C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f7e070;
/* rgb */ color: rgb(247, 224, 112);
/* oklch */ color: oklch(90.4% 0.135 97.9);
Tailwind
colors: {
  custom: {
    50: '#fce99c',
    500: '#f7e070',
    950: '#000000',
  },
}
SCSS
$custom: #f7e070;
$custom-light: #fce99c;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e070",
  "rgb": {
    "r": 247,
    "g": 224,
    "b": 112
  },
  "hsl": {
    "h": 49.778,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.90362,
    "c": 0.1345,
    "h": 97.9
  },
  "luminance": 0.74255
}

Semantic roles & 50–950 ramp

primary
#F7E070
secondary
#3A54D2
accent
#27E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E070

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

Preview Lab → · Contrast checker → · Palette generator →

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