#FDF07E#FDF07E

#FDF07E is a very light, vivid yellow. Relative luminance 0.847; OKLCH L 94.3% C 0.136 H 102.8°. Best body text is #000000 at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#FDF07E
RGBrgb(253, 240, 126)
HSLhsl(54, 97%, 74%)
HSVhsv(54, 50%, 99%)
CMYKcmyk(0%, 5.1%, 50.2%, 0.8%)
CIE-LABlab(93.76, -10.17, 56.11)
CIE-LCHlch(93.76, 57.03, 100.27°)
OKLaboklab(94.27% -0.0302 0.1327)
OKLCHoklch(94.27% 0.136 102.8)
XYZxyz(75.4361, 84.7117, 32.1119)
Luminance0.8471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF07E #7E8BFD
analogous
#FDB17E #FDF07E #CBFD7E
triadic
#FDF07E #7EFDF0 #F07EFD
tetradic
#FDF07E #7EFDB1 #7E8BFD #FD7ECB
square
#FDF07E #7EFDB1 #7E8BFD #FD7ECB
split-complementary
#FDF07E #7ECBFD #B17EFD
monochromatic
#FBE205 #FCE942 #FDF07E #FEF7BA #FFFBE1

Accessibility & contrast

On white

1.17
#FDF07E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.94
#FDF07E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF07E
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF07E#FFFFFF#000000##000000
##FDF07E1.001.1717.9417.94
#FFFFFF1.171.0021.0021.00
#00000017.9421.001.001.00
##00000017.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE974
Deuteranopia (green-blind)
#FFF083
Tritanopia (blue-blind)
#FFE3D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fdf07e;
/* rgb */ color: rgb(253, 240, 126);
/* oklch */ color: oklch(94.3% 0.136 102.8);
Tailwind
colors: {
  custom: {
    50: '#fff4a6',
    500: '#fdf07e',
    950: '#000000',
  },
}
SCSS
$custom: #fdf07e;
$custom-light: #fff4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf07e",
  "rgb": {
    "r": 253,
    "g": 240,
    "b": 126
  },
  "hsl": {
    "h": 53.858,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.94268,
    "c": 0.1361,
    "h": 102.8
  },
  "luminance": 0.84709
}

Semantic roles & 50–950 ramp

primary
#FDF07E
secondary
#4453DB
accent
#17E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF07E

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

Preview Lab → · Contrast checker → · Palette generator →

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