#F7DF7E#F7DF7E

#F7DF7E is a very light, vivid yellow. Relative luminance 0.741; OKLCH L 90.3% C 0.120 H 95.8°. Best body text is #000000 at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#F7DF7E
RGBrgb(247, 223, 126)
HSLhsl(48, 88%, 73%)
HSVhsv(48, 49%, 97%)
CMYKcmyk(0%, 9.7%, 49%, 3.1%)
CIE-LABlab(88.95, -4.06, 50.20)
CIE-LCHlch(88.95, 50.37, 94.62°)
OKLaboklab(90.34% -0.0122 0.1198)
OKLCHoklch(90.34% 0.12 95.8)
XYZxyz(68.5135, 74.0586, 30.4204)
Luminance0.7406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7DF7E #7E96F7
analogous
#F7A27E #F7DF7E #D2F77E
triadic
#F7DF7E #7EF7DF #DF7EF7
tetradic
#F7DF7E #7EF7A2 #7E96F7 #F77ED2
square
#F7DF7E #7EF7A2 #7E96F7 #F77ED2
split-complementary
#F7DF7E #7ED2F7 #A27EF7
monochromatic
#ECC00F #F3D144 #F7DF7E #FBEDB8 #FDF8E2

Accessibility & contrast

On white

1.33
#F7DF7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.81
#F7DF7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7DF7E
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7DF7E#FFFFFF#000000##000000
##F7DF7E1.001.3315.8115.81
#FFFFFF1.331.0021.0021.00
#00000015.8121.001.001.00
##00000015.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB76
Deuteranopia (green-blind)
#F7E382
Tritanopia (blue-blind)
#FFD2C8
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f7df7e;
/* rgb */ color: rgb(247, 223, 126);
/* oklch */ color: oklch(90.3% 0.120 95.8);
Tailwind
colors: {
  custom: {
    50: '#fce8a5',
    500: '#f7df7e',
    950: '#000000',
  },
}
SCSS
$custom: #f7df7e;
$custom-light: #fce8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f7df7e",
  "rgb": {
    "r": 247,
    "g": 223,
    "b": 126
  },
  "hsl": {
    "h": 48.099,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.90339,
    "c": 0.12043,
    "h": 95.8
  },
  "luminance": 0.74056
}

Semantic roles & 50–950 ramp

primary
#F7DF7E
secondary
#4662D3
accent
#2EE501
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F7DF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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