#F7F264#F7F264

#F7F264 is a very light, vivid yellow. Relative luminance 0.842; OKLCH L 93.9% C 0.161 H 107.2°. Best body text is #000000 at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#F7F264
RGBrgb(247, 242, 100)
HSLhsl(58, 90%, 68%)
HSVhsv(58, 60%, 97%)
CMYKcmyk(0%, 2%, 59.5%, 3.1%)
CIE-LABlab(93.54, -15.48, 67.22)
CIE-LCHlch(93.54, 68.98, 102.97°)
OKLaboklab(93.9% -0.0477 0.1539)
OKLCHoklch(93.9% 0.161 107.2)
XYZxyz(72.4125, 84.2007, 24.4921)
Luminance0.8420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F264 #6469F7
analogous
#F7A864 #F7F264 #B2F764
triadic
#F7F264 #64F7F2 #F264F7
tetradic
#F7F264 #64F7A8 #6469F7 #F764B2
square
#F7F264 #64F7A8 #6469F7 #F764B2
split-complementary
#F7F264 #64B2F7 #A864F7
monochromatic
#D6CF0B #F4ED2A #F7F264 #FAF79E #FDFCD8

Accessibility & contrast

On white

1.18
#F7F264 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.84
#F7F264 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F264
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F264#FFFFFF#000000##000000
##F7F2641.001.1817.8417.84
#FFFFFF1.181.0021.0021.00
#00000017.8421.001.001.00
##00000017.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE954
Deuteranopia (green-blind)
#FFEF6C
Tritanopia (blue-blind)
#FFE4D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f7f264;
/* rgb */ color: rgb(247, 242, 100);
/* oklch */ color: oklch(93.9% 0.161 107.2);
Tailwind
colors: {
  custom: {
    50: '#fdf695',
    500: '#f7f264',
    950: '#000000',
  },
}
SCSS
$custom: #f7f264;
$custom-light: #fdf695;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f264",
  "rgb": {
    "r": 247,
    "g": 242,
    "b": 100
  },
  "hsl": {
    "h": 57.959,
    "s": 90.184,
    "l": 68.039
  },
  "oklch": {
    "l": 0.93895,
    "c": 0.16114,
    "h": 107.2
  },
  "luminance": 0.84199
}

Semantic roles & 50–950 ramp

primary
#F7F264
secondary
#2F35D0
accent
#08E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F7F264

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

Preview Lab → · Contrast checker → · Palette generator →

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