#F7DF5E#F7DF5E

#F7DF5E is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 90.0% C 0.149 H 98.8°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#F7DF5E
RGBrgb(247, 223, 94)
HSLhsl(51, 91%, 67%)
HSVhsv(51, 62%, 97%)
CMYKcmyk(0%, 9.7%, 61.9%, 3.1%)
CIE-LABlab(88.62, -6.47, 64.40)
CIE-LCHlch(88.62, 64.73, 95.74°)
OKLaboklab(89.97% -0.0227 0.1471)
OKLCHoklch(89.97% 0.149 98.8)
XYZxyz(66.7686, 73.3606, 21.2306)
Luminance0.7336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DF5E #5E76F7
analogous
#F7935E #F7DF5E #C3F75E
triadic
#F7DF5E #5EF7DF #DF5EF7
tetradic
#F7DF5E #5EF793 #5E76F7 #F75EC3
square
#F7DF5E #5EF793 #5E76F7 #F75EC3
split-complementary
#F7DF5E #5EC3F7 #935EF7
monochromatic
#D0B10A #F4D324 #F7DF5E #FAEB98 #FDF6D3

Accessibility & contrast

On white

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

On black

15.67
#F7DF5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DF5E
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DF5E#FFFFFF#000000##000000
##F7DF5E1.001.3415.6715.67
#FFFFFF1.341.0021.0021.00
#00000015.6721.001.001.00
##00000015.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA4F
Deuteranopia (green-blind)
#F9E265
Tritanopia (blue-blind)
#FFD0C3
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f7df5e;
/* rgb */ color: rgb(247, 223, 94);
/* oklch */ color: oklch(90.0% 0.149 98.8);
Tailwind
colors: {
  custom: {
    50: '#fde891',
    500: '#f7df5e',
    950: '#000000',
  },
}
SCSS
$custom: #f7df5e;
$custom-light: #fde891;
$custom-dark: #000000;
JSON
{
  "hex": "#f7df5e",
  "rgb": {
    "r": 247,
    "g": 223,
    "b": 94
  },
  "hsl": {
    "h": 50.588,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.8997,
    "c": 0.14886,
    "h": 98.8
  },
  "luminance": 0.73358
}

Semantic roles & 50–950 ramp

primary
#F7DF5E
secondary
#2E46CC
accent
#24E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F7DF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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