#F7F066#F7F066

#F7F066 is a very light, vivid yellow. Relative luminance 0.831; OKLCH L 93.5% C 0.158 H 106.4°. Best body text is #000000 at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#F7F066
RGBrgb(247, 240, 102)
HSLhsl(57, 90%, 68%)
HSVhsv(57, 59%, 97%)
CMYKcmyk(0%, 2.8%, 58.7%, 3.1%)
CIE-LABlab(93.04, -14.37, 65.84)
CIE-LCHlch(93.04, 67.39, 102.32°)
OKLaboklab(93.5% -0.0444 0.1512)
OKLCHoklch(93.5% 0.158 106.4)
XYZxyz(71.9185, 83.0559, 24.8108)
Luminance0.8305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F066 #666DF7
analogous
#F7A766 #F7F066 #B6F766
triadic
#F7F066 #66F7F0 #F066F7
tetradic
#F7F066 #66F7A7 #666DF7 #F766B6
square
#F7F066 #66F7A7 #666DF7 #F766B6
split-complementary
#F7F066 #66B6F7 #A766F7
monochromatic
#D7CD0B #F4EA2C #F7F066 #FAF6A0 #FDFBDA

Accessibility & contrast

On white

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

On black

17.61
#F7F066 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F066
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F066#FFFFFF#000000##000000
##F7F0661.001.1917.6117.61
#FFFFFF1.191.0021.0021.00
#00000017.6121.001.001.00
##00000017.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE857
Deuteranopia (green-blind)
#FFEE6E
Tritanopia (blue-blind)
#FFE2D2
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f7f066;
/* rgb */ color: rgb(247, 240, 102);
/* oklch */ color: oklch(93.5% 0.158 106.4);
Tailwind
colors: {
  custom: {
    50: '#fdf497',
    500: '#f7f066',
    950: '#000000',
  },
}
SCSS
$custom: #f7f066;
$custom-light: #fdf497;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f066",
  "rgb": {
    "r": 247,
    "g": 240,
    "b": 102
  },
  "hsl": {
    "h": 57.103,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.93503,
    "c": 0.1576,
    "h": 106.4
  },
  "luminance": 0.83054
}

Semantic roles & 50–950 ramp

primary
#F7F066
secondary
#3139D0
accent
#0BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F066

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

Preview Lab → · Contrast checker → · Palette generator →

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