#FDF270#FDF270

#FDF270 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.5% C 0.151 H 104.4°. Best body text is #000000 at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#FDF270
RGBrgb(253, 242, 112)
HSLhsl(55, 97%, 72%)
HSVhsv(55, 56%, 99%)
CMYKcmyk(0%, 4.3%, 55.7%, 0.8%)
CIE-LABlab(94.12, -12.25, 62.87)
CIE-LCHlch(94.12, 64.05, 101.03°)
OKLaboklab(94.51% -0.0376 0.146)
OKLCHoklch(94.51% 0.151 104.4)
XYZxyz(75.1872, 85.5593, 27.8801)
Luminance0.8556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF270 #707BFD
analogous
#FDAC70 #FDF270 #C2FD70
triadic
#FDF270 #70FDF2 #F270FD
tetradic
#FDF270 #70FDAC #707BFD #FD70C2
square
#FDF270 #70FDAC #707BFD #FD70C2
split-complementary
#FDF270 #70C2FD #AC70FD
monochromatic
#EFDD03 #FCED34 #FDF270 #FEF7AC #FFFCE1

Accessibility & contrast

On white

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

On black

18.11
#FDF270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF270
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF270#FFFFFF#000000##000000
##FDF2701.001.1618.1118.11
#FFFFFF1.161.0021.0021.00
#00000018.1121.001.001.00
##00000018.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA63
Deuteranopia (green-blind)
#FFF177
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf270;
/* rgb */ color: rgb(253, 242, 112);
/* oklch */ color: oklch(94.5% 0.151 104.4);
Tailwind
colors: {
  custom: {
    50: '#fff69d',
    500: '#fdf270',
    950: '#000000',
  },
}
SCSS
$custom: #fdf270;
$custom-light: #fff69d;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf270",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 112
  },
  "hsl": {
    "h": 55.319,
    "s": 97.241,
    "l": 71.569
  },
  "oklch": {
    "l": 0.94511,
    "c": 0.15072,
    "h": 104.4
  },
  "luminance": 0.85557
}

Semantic roles & 50–950 ramp

primary
#FDF270
secondary
#3845D9
accent
#12E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF270

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

Preview Lab → · Contrast checker → · Palette generator →

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