#F7DE6F#F7DE6F

#F7DE6F is a very light, vivid yellow. Relative luminance 0.732; OKLCH L 89.9% C 0.134 H 96.8°. Best body text is #000000 at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#F7DE6F
RGBrgb(247, 222, 111)
HSLhsl(49, 89%, 70%)
HSVhsv(49, 55%, 97%)
CMYKcmyk(0%, 10.1%, 55.1%, 3.1%)
CIE-LABlab(88.53, -4.79, 56.76)
CIE-LCHlch(88.53, 56.96, 94.82°)
OKLaboklab(89.95% -0.0159 0.1328)
OKLCHoklch(89.95% 0.134 96.8)
XYZxyz(67.3508, 73.1673, 25.6109)
Luminance0.7316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DE6F #6F88F7
analogous
#F79A6F #F7DE6F #CCF76F
triadic
#F7DE6F #6FF7DE #DE6FF7
tetradic
#F7DE6F #6FF79A #6F88F7 #F76FCC
square
#F7DE6F #6FF79A #6F88F7 #F76FCC
split-complementary
#F7DE6F #6FCCF7 #9A6FF7
monochromatic
#DFB80C #F4D135 #F7DE6F #FAEBA9 #FDF8E2

Accessibility & contrast

On white

1.34
#F7DE6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.63
#F7DE6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DE6F
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DE6F#FFFFFF#000000##000000
##F7DE6F1.001.3415.6315.63
#FFFFFF1.341.0021.0021.00
#00000015.6321.001.001.00
##00000015.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D964
Deuteranopia (green-blind)
#F7E274
Tritanopia (blue-blind)
#FFD0C5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f7de6f;
/* rgb */ color: rgb(247, 222, 111);
/* oklch */ color: oklch(89.9% 0.134 96.8);
Tailwind
colors: {
  custom: {
    50: '#fce89b',
    500: '#f7de6f',
    950: '#000000',
  },
}
SCSS
$custom: #f7de6f;
$custom-light: #fce89b;
$custom-dark: #000000;
JSON
{
  "hex": "#f7de6f",
  "rgb": {
    "r": 247,
    "g": 222,
    "b": 111
  },
  "hsl": {
    "h": 48.971,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.89949,
    "c": 0.13376,
    "h": 96.8
  },
  "luminance": 0.73164
}

Semantic roles & 50–950 ramp

primary
#F7DE6F
secondary
#3955D1
accent
#2AE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7DE6F

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

Preview Lab → · Contrast checker → · Palette generator →

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