#F7DE6B#F7DE6B

#F7DE6B is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 89.9% C 0.137 H 97.2°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#F7DE6B
RGBrgb(247, 222, 107)
HSLhsl(49, 90%, 69%)
HSVhsv(49, 57%, 97%)
CMYKcmyk(0%, 10.1%, 56.7%, 3.1%)
CIE-LABlab(88.49, -5.08, 58.54)
CIE-LCHlch(88.49, 58.76, 94.96°)
OKLaboklab(89.9% -0.0173 0.1362)
OKLCHoklch(89.9% 0.137 97.2)
XYZxyz(67.1355, 73.0812, 24.4768)
Luminance0.7308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DE6B #6B84F7
analogous
#F7986B #F7DE6B #CAF76B
triadic
#F7DE6B #6BF7DE #DE6BF7
tetradic
#F7DE6B #6BF798 #6B84F7 #F76BCA
square
#F7DE6B #6BF798 #6B84F7 #F76BCA
split-complementary
#F7DE6B #6BCAF7 #986BF7
monochromatic
#DCB70C #F4D131 #F7DE6B #FAEBA5 #FDF8DF

Accessibility & contrast

On white

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

On black

15.62
#F7DE6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DE6B
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DE6B#FFFFFF#000000##000000
##F7DE6B1.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D960
Deuteranopia (green-blind)
#F8E270
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f7de6b;
/* rgb */ color: rgb(247, 222, 107);
/* oklch */ color: oklch(89.9% 0.137 97.2);
Tailwind
colors: {
  custom: {
    50: '#fde899',
    500: '#f7de6b',
    950: '#000000',
  },
}
SCSS
$custom: #f7de6b;
$custom-light: #fde899;
$custom-dark: #000000;
JSON
{
  "hex": "#f7de6b",
  "rgb": {
    "r": 247,
    "g": 222,
    "b": 107
  },
  "hsl": {
    "h": 49.286,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.89903,
    "c": 0.13731,
    "h": 97.2
  },
  "luminance": 0.73078
}

Semantic roles & 50–950 ramp

primary
#F7DE6B
secondary
#3551D1
accent
#29E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7DE6B

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

Preview Lab → · Contrast checker → · Palette generator →

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