#F7F070#F7F070

#F7F070 is a very light, vivid yellow. Relative luminance 0.833; OKLCH L 93.6% C 0.149 H 106.1°. Best body text is #000000 at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#F7F070
RGBrgb(247, 240, 112)
HSLhsl(57, 89%, 70%)
HSVhsv(57, 55%, 97%)
CMYKcmyk(0%, 2.8%, 54.7%, 3.1%)
CIE-LABlab(93.13, -13.66, 61.61)
CIE-LCHlch(93.13, 63.11, 102.50°)
OKLaboklab(93.61% -0.0413 0.1434)
OKLCHoklch(93.61% 0.149 106.1)
XYZxyz(72.4446, 83.2664, 27.5820)
Luminance0.8326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F070 #7077F7
analogous
#F7AC70 #F7F070 #BAF770
triadic
#F7F070 #70F7F0 #F070F7
tetradic
#F7F070 #70F7AC #7077F7 #F770BA
square
#F7F070 #70F7AC #7077F7 #F770BA
split-complementary
#F7F070 #70BAF7 #AC70F7
monochromatic
#E0D50D #F4EA36 #F7F070 #FAF6AA #FDFCE2

Accessibility & contrast

On white

1.19
#F7F070 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.65
#F7F070 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F070
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F070#FFFFFF#000000##000000
##F7F0701.001.1917.6517.65
#FFFFFF1.191.0021.0021.00
#00000017.6521.001.001.00
##00000017.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE863
Deuteranopia (green-blind)
#FFEE77
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f7f070;
/* rgb */ color: rgb(247, 240, 112);
/* oklch */ color: oklch(93.6% 0.149 106.1);
Tailwind
colors: {
  custom: {
    50: '#fcf49d',
    500: '#f7f070',
    950: '#000000',
  },
}
SCSS
$custom: #f7f070;
$custom-light: #fcf49d;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f070",
  "rgb": {
    "r": 247,
    "g": 240,
    "b": 112
  },
  "hsl": {
    "h": 56.889,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.93606,
    "c": 0.14919,
    "h": 106.1
  },
  "luminance": 0.83264
}

Semantic roles & 50–950 ramp

primary
#F7F070
secondary
#3A42D2
accent
#0CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F070

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

Preview Lab → · Contrast checker → · Palette generator →

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