#F7E266#F7E266

#F7E266 is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.7% C 0.145 H 99.8°. Best body text is #000000 at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#F7E266
RGBrgb(247, 226, 102)
HSLhsl(51, 90%, 68%)
HSVhsv(51, 59%, 97%)
CMYKcmyk(0%, 8.5%, 58.7%, 3.1%)
CIE-LABlab(89.45, -7.45, 61.87)
CIE-LCHlch(89.45, 62.31, 96.86°)
OKLaboklab(90.65% -0.0246 0.1428)
OKLCHoklch(90.65% 0.145 99.8)
XYZxyz(67.9550, 75.1290, 23.4896)
Luminance0.7513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E266 #667BF7
analogous
#F79966 #F7E266 #C4F766
triadic
#F7E266 #66F7E2 #E266F7
tetradic
#F7E266 #66F799 #667BF7 #F766C4
square
#F7E266 #66F799 #667BF7 #F766C4
split-complementary
#F7E266 #66C4F7 #9966F7
monochromatic
#D7BA0B #F4D72C #F7E266 #FAEDA0 #FDF8DA

Accessibility & contrast

On white

1.31
#F7E266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.03
#F7E266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E266
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E266#FFFFFF#000000##000000
##F7E2661.001.3116.0316.03
#FFFFFF1.311.0021.0021.00
#00000016.0321.001.001.00
##00000016.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC59
Deuteranopia (green-blind)
#FBE46C
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f7e266;
/* rgb */ color: rgb(247, 226, 102);
/* oklch */ color: oklch(90.7% 0.145 99.8);
Tailwind
colors: {
  custom: {
    50: '#fdea96',
    500: '#f7e266',
    950: '#000000',
  },
}
SCSS
$custom: #f7e266;
$custom-light: #fdea96;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e266",
  "rgb": {
    "r": 247,
    "g": 226,
    "b": 102
  },
  "hsl": {
    "h": 51.31,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.90654,
    "c": 0.14486,
    "h": 99.8
  },
  "luminance": 0.75126
}

Semantic roles & 50–950 ramp

primary
#F7E266
secondary
#3148D0
accent
#21E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E266

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

Preview Lab → · Contrast checker → · Palette generator →

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