#F7F07C#F7F07C

#F7F07C is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.7% C 0.138 H 105.7°. Best body text is #000000 at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#F7F07C
RGBrgb(247, 240, 124)
HSLhsl(57, 88%, 73%)
HSVhsv(57, 50%, 97%)
CMYKcmyk(0%, 2.8%, 49.8%, 3.1%)
CIE-LABlab(93.26, -12.70, 56.32)
CIE-LCHlch(93.26, 57.74, 102.71°)
OKLaboklab(93.75% -0.0373 0.1331)
OKLCHoklch(93.75% 0.138 105.7)
XYZxyz(73.1579, 83.5517, 31.3382)
Luminance0.8355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F07C #7C83F7
analogous
#F7B27C #F7F07C #C1F77C
triadic
#F7F07C #7CF7F0 #F07CF7
tetradic
#F7F07C #7CF7B2 #7C83F7 #F77CC1
square
#F7F07C #7CF7B2 #7C83F7 #F77CC1
split-complementary
#F7F07C #7CC1F7 #B27CF7
monochromatic
#EADE0E #F3E942 #F7F07C #FBF7B6 #FDFCE2

Accessibility & contrast

On white

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

On black

17.71
#F7F07C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F07C
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F07C#FFFFFF#000000##000000
##F7F07C1.001.1917.7117.71
#FFFFFF1.191.0021.0021.00
#00000017.7121.001.001.00
##00000017.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE971
Deuteranopia (green-blind)
#FFEE82
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f7f07c;
/* rgb */ color: rgb(247, 240, 124);
/* oklch */ color: oklch(93.7% 0.138 105.7);
Tailwind
colors: {
  custom: {
    50: '#fcf4a4',
    500: '#f7f07c',
    950: '#000000',
  },
}
SCSS
$custom: #f7f07c;
$custom-light: #fcf4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f07c",
  "rgb": {
    "r": 247,
    "g": 240,
    "b": 124
  },
  "hsl": {
    "h": 56.585,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.93745,
    "c": 0.13822,
    "h": 105.7
  },
  "luminance": 0.8355
}

Semantic roles & 50–950 ramp

primary
#F7F07C
secondary
#444CD3
accent
#0DE500
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F07C

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

Preview Lab → · Contrast checker → · Palette generator →

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