#F7E862#F7E862

#F7E862 is a very light, vivid yellow. Relative luminance 0.784; OKLCH L 91.8% C 0.153 H 102.9°. Best body text is #000000 at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#F7E862
RGBrgb(247, 232, 98)
HSLhsl(54, 90%, 68%)
HSVhsv(54, 60%, 97%)
CMYKcmyk(0%, 6.1%, 60.3%, 3.1%)
CIE-LABlab(90.95, -10.70, 65.24)
CIE-LCHlch(90.95, 66.12, 99.32°)
OKLaboklab(91.83% -0.0343 0.1495)
OKLCHoklch(91.83% 0.153 102.9)
XYZxyz(69.4215, 78.3718, 23.0234)
Luminance0.7837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E862 #6271F7
analogous
#F79E62 #F7E862 #BBF762
triadic
#F7E862 #62F7E8 #E862F7
tetradic
#F7E862 #62F79E #6271F7 #F762BB
square
#F7E862 #62F79E #6271F7 #F762BB
split-complementary
#F7E862 #62BBF7 #9E62F7
monochromatic
#D4C00B #F4DF28 #F7E862 #FAF19C #FDF9D6

Accessibility & contrast

On white

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

On black

16.67
#F7E862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E862
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E862#FFFFFF#000000##000000
##F7E8621.001.2616.6716.67
#FFFFFF1.261.0021.0021.00
#00000016.6721.001.001.00
##00000016.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE153
Deuteranopia (green-blind)
#FFE869
Tritanopia (blue-blind)
#FFD9CB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f7e862;
/* rgb */ color: rgb(247, 232, 98);
/* oklch */ color: oklch(91.8% 0.153 102.9);
Tailwind
colors: {
  custom: {
    50: '#fdef94',
    500: '#f7e862',
    950: '#000000',
  },
}
SCSS
$custom: #f7e862;
$custom-light: #fdef94;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e862",
  "rgb": {
    "r": 247,
    "g": 232,
    "b": 98
  },
  "hsl": {
    "h": 53.96,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.9183,
    "c": 0.15335,
    "h": 102.9
  },
  "luminance": 0.78369
}

Semantic roles & 50–950 ramp

primary
#F7E862
secondary
#2F3FCF
accent
#17E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160D
muted
#86857F

Preview Lab

Preview with #F7E862

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

Preview Lab → · Contrast checker → · Palette generator →

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