#F7E268#F7E268

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

Color values

HEX#F7E268
RGBrgb(247, 226, 104)
HSLhsl(51, 90%, 69%)
HSVhsv(51, 58%, 97%)
CMYKcmyk(0%, 8.5%, 57.9%, 3.1%)
CIE-LABlab(89.47, -7.31, 61.00)
CIE-LCHlch(89.47, 61.44, 96.83°)
OKLaboklab(90.68% -0.024 0.1412)
OKLCHoklch(90.68% 0.143 99.6)
XYZxyz(68.0554, 75.1691, 24.0183)
Luminance0.7517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E268 #687DF7
analogous
#F79B68 #F7E268 #C5F768
triadic
#F7E268 #68F7E2 #E268F7
tetradic
#F7E268 #68F79B #687DF7 #F768C5
square
#F7E268 #68F79B #687DF7 #F768C5
split-complementary
#F7E268 #68C5F7 #9B68F7
monochromatic
#D9BB0C #F4D72E #F7E268 #FAEDA2 #FDF8DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7E268#FFFFFF#000000##000000
##F7E2681.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)
#F5DC5B
Deuteranopia (green-blind)
#FBE46E
Tritanopia (blue-blind)
#FFD4C7
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f7e268;
/* rgb */ color: rgb(247, 226, 104);
/* oklch */ color: oklch(90.7% 0.143 99.6);
Tailwind
colors: {
  custom: {
    50: '#fdea97',
    500: '#f7e268',
    950: '#000000',
  },
}
SCSS
$custom: #f7e268;
$custom-light: #fdea97;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e268",
  "rgb": {
    "r": 247,
    "g": 226,
    "b": 104
  },
  "hsl": {
    "h": 51.189,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.90675,
    "c": 0.14318,
    "h": 99.6
  },
  "luminance": 0.75166
}

Semantic roles & 50–950 ramp

primary
#F7E268
secondary
#334AD1
accent
#22E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E268

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

Preview Lab → · Contrast checker → · Palette generator →

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