#F7F072#F7F072

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

Color values

HEX#F7F072
RGBrgb(247, 240, 114)
HSLhsl(57, 89%, 71%)
HSVhsv(57, 54%, 97%)
CMYKcmyk(0%, 2.8%, 53.8%, 3.1%)
CIE-LABlab(93.15, -13.51, 60.74)
CIE-LCHlch(93.15, 62.23, 102.54°)
OKLaboklab(93.63% -0.0406 0.1417)
OKLCHoklch(93.63% 0.147 106)
XYZxyz(72.5572, 83.3114, 28.1750)
Luminance0.8331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F072 #7279F7
analogous
#F7AD72 #F7F072 #BBF772
triadic
#F7F072 #72F7F0 #F072F7
tetradic
#F7F072 #72F7AD #7279F7 #F772BB
square
#F7F072 #72F7AD #7279F7 #F772BB
split-complementary
#F7F072 #72BBF7 #AD72F7
monochromatic
#E2D70D #F4EA38 #F7F072 #FAF6AC #FDFCE2

Accessibility & contrast

On white

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

On black

17.66
#F7F072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F072
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F072#FFFFFF#000000##000000
##F7F0721.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f072;
/* rgb */ color: rgb(247, 240, 114);
/* oklch */ color: oklch(93.6% 0.147 106.0);
Tailwind
colors: {
  custom: {
    50: '#fcf49e',
    500: '#f7f072',
    950: '#000000',
  },
}
SCSS
$custom: #f7f072;
$custom-light: #fcf49e;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f072",
  "rgb": {
    "r": 247,
    "g": 240,
    "b": 114
  },
  "hsl": {
    "h": 56.842,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93628,
    "c": 0.14742,
    "h": 106
  },
  "luminance": 0.83309
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7F072

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

Preview Lab → · Contrast checker → · Palette generator →

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