#F7DD5E#F7DD5E

#F7DD5E is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 89.6% C 0.147 H 97.7°. Best body text is #000000 at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#F7DD5E
RGBrgb(247, 221, 94)
HSLhsl(50, 91%, 67%)
HSVhsv(50, 62%, 97%)
CMYKcmyk(0%, 10.5%, 61.9%, 3.1%)
CIE-LABlab(88.11, -5.46, 63.85)
CIE-LCHlch(88.11, 64.09, 94.89°)
OKLaboklab(89.57% -0.0198 0.146)
OKLCHoklch(89.57% 0.147 97.7)
XYZxyz(66.2374, 72.2983, 21.0535)
Luminance0.7229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DD5E #5E78F7
analogous
#F7915E #F7DD5E #C5F75E
triadic
#F7DD5E #5EF7DD #DD5EF7
tetradic
#F7DD5E #5EF791 #5E78F7 #F75EC5
square
#F7DD5E #5EF791 #5E78F7 #F75EC5
split-complementary
#F7DD5E #5EC5F7 #915EF7
monochromatic
#D0AF0A #F4D124 #F7DD5E #FAE998 #FDF6D3

Accessibility & contrast

On white

1.36
#F7DD5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.46
#F7DD5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DD5E
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DD5E#FFFFFF#000000##000000
##F7DD5E1.001.3615.4615.46
#FFFFFF1.361.0021.0021.00
#00000015.4621.001.001.00
##00000015.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D850
Deuteranopia (green-blind)
#F8E164
Tritanopia (blue-blind)
#FFCEC2
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f7dd5e;
/* rgb */ color: rgb(247, 221, 94);
/* oklch */ color: oklch(89.6% 0.147 97.7);
Tailwind
colors: {
  custom: {
    50: '#fde791',
    500: '#f7dd5e',
    950: '#000000',
  },
}
SCSS
$custom: #f7dd5e;
$custom-light: #fde791;
$custom-dark: #000000;
JSON
{
  "hex": "#f7dd5e",
  "rgb": {
    "r": 247,
    "g": 221,
    "b": 94
  },
  "hsl": {
    "h": 49.804,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.89568,
    "c": 0.14729,
    "h": 97.7
  },
  "luminance": 0.72295
}

Semantic roles & 50–950 ramp

primary
#F7DD5E
secondary
#2E48CC
accent
#27E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F7DD5E

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

Preview Lab → · Contrast checker → · Palette generator →

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