#FDF277#FDF277

#FDF277 is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.6% C 0.145 H 104.2°. Best body text is #000000 at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#FDF277
RGBrgb(253, 242, 119)
HSLhsl(55, 97%, 73%)
HSVhsv(55, 53%, 99%)
CMYKcmyk(0%, 4.3%, 53%, 0.8%)
CIE-LABlab(94.19, -11.72, 59.83)
CIE-LCHlch(94.19, 60.96, 101.08°)
OKLaboklab(94.59% -0.0353 0.1401)
OKLCHoklch(94.59% 0.145 104.2)
XYZxyz(75.5922, 85.7213, 30.0131)
Luminance0.8572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF277 #7782FD
analogous
#FDAF77 #FDF277 #C5FD77
triadic
#FDF277 #77FDF2 #F277FD
tetradic
#FDF277 #77FDAF #7782FD #FD77C5
square
#FDF277 #77FDAF #7782FD #FD77C5
split-complementary
#FDF277 #77C5FD #AF77FD
monochromatic
#F6E204 #FCEC3B #FDF277 #FEF8B3 #FFFCE1

Accessibility & contrast

On white

1.16
#FDF277 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.14
#FDF277 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF277
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF277#FFFFFF#000000##000000
##FDF2771.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6B
Deuteranopia (green-blind)
#FFF17D
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf277;
/* rgb */ color: rgb(253, 242, 119);
/* oklch */ color: oklch(94.6% 0.145 104.2);
Tailwind
colors: {
  custom: {
    50: '#fff6a1',
    500: '#fdf277',
    950: '#000000',
  },
}
SCSS
$custom: #fdf277;
$custom-light: #fff6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf277",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 119
  },
  "hsl": {
    "h": 55.075,
    "s": 97.101,
    "l": 72.941
  },
  "oklch": {
    "l": 0.94589,
    "c": 0.14453,
    "h": 104.2
  },
  "luminance": 0.85719
}

Semantic roles & 50–950 ramp

primary
#FDF277
secondary
#3E4BDA
accent
#13E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF277

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

Preview Lab → · Contrast checker → · Palette generator →

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