#FDF07F#FDF07F

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

Color values

HEX#FDF07F
RGBrgb(253, 240, 127)
HSLhsl(54, 97%, 75%)
HSVhsv(54, 50%, 99%)
CMYKcmyk(0%, 5.1%, 49.8%, 0.8%)
CIE-LABlab(93.77, -10.08, 55.66)
CIE-LCHlch(93.77, 56.57, 100.27°)
OKLaboklab(94.28% -0.0298 0.1318)
OKLCHoklch(94.28% 0.135 102.7)
XYZxyz(75.5010, 84.7376, 32.4534)
Luminance0.8474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF07F #7F8CFD
analogous
#FDB17F #FDF07F #CBFD7F
triadic
#FDF07F #7FFDF0 #F07FFD
tetradic
#FDF07F #7FFDB1 #7F8CFD #FD7FCB
square
#FDF07F #7FFDB1 #7F8CFD #FD7FCB
split-complementary
#FDF07F #7FCBFD #B17FFD
monochromatic
#FBE206 #FCE943 #FDF07F #FEF7BB #FFFBE1

Accessibility & contrast

On white

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

On black

17.95
#FDF07F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF07F
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF07F#FFFFFF#000000##000000
##FDF07F1.001.1717.9517.95
#FFFFFF1.171.0021.0021.00
#00000017.9521.001.001.00
##00000017.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf07f;
/* rgb */ color: rgb(253, 240, 127);
/* oklch */ color: oklch(94.3% 0.135 102.7);
Tailwind
colors: {
  custom: {
    50: '#fff4a6',
    500: '#fdf07f',
    950: '#000000',
  },
}
SCSS
$custom: #fdf07f;
$custom-light: #fff4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf07f",
  "rgb": {
    "r": 253,
    "g": 240,
    "b": 127
  },
  "hsl": {
    "h": 53.81,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.94281,
    "c": 0.13514,
    "h": 102.7
  },
  "luminance": 0.84735
}

Semantic roles & 50–950 ramp

primary
#FDF07F
secondary
#4554DB
accent
#18E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FDF07F

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

Preview Lab → · Contrast checker → · Palette generator →

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