#F7DC5E#F7DC5E

#F7DC5E is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.4% C 0.147 H 97.2°. Best body text is #000000 at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#F7DC5E
RGBrgb(247, 220, 94)
HSLhsl(49, 91%, 67%)
HSVhsv(49, 62%, 97%)
CMYKcmyk(0%, 10.9%, 61.9%, 3.1%)
CIE-LABlab(87.86, -4.96, 63.58)
CIE-LCHlch(87.86, 63.77, 94.46°)
OKLaboklab(89.37% -0.0184 0.1454)
OKLCHoklch(89.37% 0.147 97.2)
XYZxyz(65.9742, 71.7718, 20.9657)
Luminance0.7177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DC5E #5E79F7
analogous
#F7905E #F7DC5E #C5F75E
triadic
#F7DC5E #5EF7DC #DC5EF7
tetradic
#F7DC5E #5EF790 #5E79F7 #F75EC5
square
#F7DC5E #5EF790 #5E79F7 #F75EC5
split-complementary
#F7DC5E #5EC5F7 #905EF7
monochromatic
#D0AD0A #F4CF24 #F7DC5E #FAE998 #FDF5D3

Accessibility & contrast

On white

1.37
#F7DC5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.35
#F7DC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DC5E
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DC5E#FFFFFF#000000##000000
##F7DC5E1.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D750
Deuteranopia (green-blind)
#F7E064
Tritanopia (blue-blind)
#FFCDC1
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f7dc5e;
/* rgb */ color: rgb(247, 220, 94);
/* oklch */ color: oklch(89.4% 0.147 97.2);
Tailwind
colors: {
  custom: {
    50: '#fde690',
    500: '#f7dc5e',
    950: '#000000',
  },
}
SCSS
$custom: #f7dc5e;
$custom-light: #fde690;
$custom-dark: #000000;
JSON
{
  "hex": "#f7dc5e",
  "rgb": {
    "r": 247,
    "g": 220,
    "b": 94
  },
  "hsl": {
    "h": 49.412,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.89367,
    "c": 0.14652,
    "h": 97.2
  },
  "luminance": 0.71769
}

Semantic roles & 50–950 ramp

primary
#F7DC5E
secondary
#2E4ACC
accent
#28E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F7DC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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