#FDF295#FDF295

#FDF295 is a very light, moderate yellow. Relative luminance 0.866; OKLCH L 95.0% C 0.115 H 102.5°. Best body text is #000000 at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#FDF295
RGBrgb(253, 242, 149)
HSLhsl(54, 96%, 79%)
HSVhsv(54, 41%, 99%)
CMYKcmyk(0%, 4.3%, 41.1%, 0.8%)
CIE-LABlab(94.55, -9.02, 46.13)
CIE-LCHlch(94.55, 47.00, 101.07°)
OKLaboklab(94.99% -0.0247 0.1121)
OKLCHoklch(94.99% 0.115 102.5)
XYZxyz(77.6865, 86.5590, 41.0432)
Luminance0.8656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF295 #95A0FD
analogous
#FDBE95 #FDF295 #D4FD95
triadic
#FDF295 #95FDF2 #F295FD
tetradic
#FDF295 #95FDBE #95A0FD #FD95D4
square
#FDF295 #95FDBE #95A0FD #FD95D4
split-complementary
#FDF295 #95D4FD #BE95FD
monochromatic
#FBE31D #FCEB59 #FDF295 #FEF9D1 #FEFBE1

Accessibility & contrast

On white

1.15
#FDF295 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.31
#FDF295 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF295
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF295#FFFFFF#000000##000000
##FDF2951.001.1518.3118.31
#FFFFFF1.151.0021.0021.00
#00000018.3121.001.001.00
##00000018.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC8E
Deuteranopia (green-blind)
#FFF299
Tritanopia (blue-blind)
#FFE6DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fdf295;
/* rgb */ color: rgb(253, 242, 149);
/* oklch */ color: oklch(95.0% 0.115 102.5);
Tailwind
colors: {
  custom: {
    50: '#fff6b5',
    500: '#fdf295',
    950: '#000000',
  },
}
SCSS
$custom: #fdf295;
$custom-light: #fff6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf295",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 149
  },
  "hsl": {
    "h": 53.654,
    "s": 96.296,
    "l": 78.824
  },
  "oklch": {
    "l": 0.94989,
    "c": 0.11479,
    "h": 102.5
  },
  "luminance": 0.86557
}

Semantic roles & 50–950 ramp

primary
#FDF295
secondary
#5866DE
accent
#18E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF295

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

Preview Lab → · Contrast checker → · Palette generator →

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