#F7E868#F7E868

#F7E868 is a very light, vivid yellow. Relative luminance 0.785; OKLCH L 91.9% C 0.148 H 102.7°. Best body text is #000000 at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#F7E868
RGBrgb(247, 232, 104)
HSLhsl(54, 90%, 69%)
HSVhsv(54, 58%, 97%)
CMYKcmyk(0%, 6.1%, 57.9%, 3.1%)
CIE-LABlab(91.00, -10.30, 62.72)
CIE-LCHlch(91.00, 63.56, 99.32°)
OKLaboklab(91.89% -0.0325 0.1448)
OKLCHoklch(91.89% 0.148 102.7)
XYZxyz(69.7155, 78.4894, 24.5717)
Luminance0.7849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E868 #6877F7
analogous
#F7A168 #F7E868 #BFF768
triadic
#F7E868 #68F7E8 #E868F7
tetradic
#F7E868 #68F7A1 #6877F7 #F768BF
square
#F7E868 #68F7A1 #6877F7 #F768BF
split-complementary
#F7E868 #68BFF7 #A168F7
monochromatic
#D9C40C #F4DF2E #F7E868 #FAF1A2 #FDFADC

Accessibility & contrast

On white

1.26
#F7E868 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.70
#F7E868 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E868
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E868#FFFFFF#000000##000000
##F7E8681.001.2616.7016.70
#FFFFFF1.261.0021.0021.00
#00000016.7021.001.001.00
##00000016.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE15A
Deuteranopia (green-blind)
#FFE86F
Tritanopia (blue-blind)
#FFDACC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f7e868;
/* rgb */ color: rgb(247, 232, 104);
/* oklch */ color: oklch(91.9% 0.148 102.7);
Tailwind
colors: {
  custom: {
    50: '#fdef97',
    500: '#f7e868',
    950: '#000000',
  },
}
SCSS
$custom: #f7e868;
$custom-light: #fdef97;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e868",
  "rgb": {
    "r": 247,
    "g": 232,
    "b": 104
  },
  "hsl": {
    "h": 53.706,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.9189,
    "c": 0.14844,
    "h": 102.7
  },
  "luminance": 0.78487
}

Semantic roles & 50–950 ramp

primary
#F7E868
secondary
#3343D1
accent
#18E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F7E868

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

Preview Lab → · Contrast checker → · Palette generator →

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