#FDF258#FDF258

#FDF258 is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.3% C 0.169 H 105.2°. Best body text is #000000 at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#FDF258
RGBrgb(253, 242, 88)
HSLhsl(56, 98%, 67%)
HSVhsv(56, 65%, 99%)
CMYKcmyk(0%, 4.3%, 65.2%, 0.8%)
CIE-LABlab(93.92, -13.78, 72.60)
CIE-LCHlch(93.92, 73.90, 100.75°)
OKLaboklab(94.29% -0.0445 0.1634)
OKLCHoklch(94.29% 0.169 105.2)
XYZxyz(74.0244, 85.0942, 21.7562)
Luminance0.8509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF258 #5863FD
analogous
#FDA058 #FDF258 #B6FD58
triadic
#FDF258 #58FDF2 #F258FD
tetradic
#FDF258 #58FDA0 #5863FD #FD58B6
square
#FDF258 #58FDA0 #5863FD #FD58B6
split-complementary
#FDF258 #58B6FD #A058FD
monochromatic
#D8CA03 #FCED1C #FDF258 #FEF794 #FEFBD1

Accessibility & contrast

On white

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

On black

18.02
#FDF258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF258
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF258#FFFFFF#000000##000000
##FDF2581.001.1718.0218.02
#FFFFFF1.171.0021.0021.00
#00000018.0221.001.001.00
##00000018.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA43
Deuteranopia (green-blind)
#FFF162
Tritanopia (blue-blind)
#FFE2D3
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fdf258;
/* rgb */ color: rgb(253, 242, 88);
/* oklch */ color: oklch(94.3% 0.169 105.2);
Tailwind
colors: {
  custom: {
    50: '#fff68f',
    500: '#fdf258',
    950: '#000000',
  },
}
SCSS
$custom: #fdf258;
$custom-light: #fff68f;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf258",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 88
  },
  "hsl": {
    "h": 56,
    "s": 97.633,
    "l": 66.863
  },
  "oklch": {
    "l": 0.94288,
    "c": 0.16938,
    "h": 105.2
  },
  "luminance": 0.85091
}

Semantic roles & 50–950 ramp

primary
#FDF258
secondary
#2733D2
accent
#0FE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FDF258

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

Preview Lab → · Contrast checker → · Palette generator →

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