#FDF27A#FDF27A

#FDF27A is a very light, vivid yellow. Relative luminance 0.858; OKLCH L 94.6% C 0.142 H 104.0°. Best body text is #000000 at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#FDF27A
RGBrgb(253, 242, 122)
HSLhsl(55, 97%, 74%)
HSVhsv(55, 52%, 99%)
CMYKcmyk(0%, 4.3%, 51.8%, 0.8%)
CIE-LABlab(94.22, -11.48, 58.50)
CIE-LCHlch(94.22, 59.62, 101.10°)
OKLaboklab(94.62% -0.0343 0.1376)
OKLCHoklch(94.62% 0.142 104)
XYZxyz(75.7752, 85.7945, 30.9770)
Luminance0.8579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF27A #7A85FD
analogous
#FDB07A #FDF27A #C6FD7A
triadic
#FDF27A #7AFDF2 #F27AFD
tetradic
#FDF27A #7AFDB0 #7A85FD #FD7AC6
square
#FDF27A #7AFDB0 #7A85FD #FD7AC6
split-complementary
#FDF27A #7AC6FD #B07AFD
monochromatic
#F9E404 #FCEC3E #FDF27A #FEF8B6 #FFFCE1

Accessibility & contrast

On white

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

On black

18.16
#FDF27A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF27A
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF27A#FFFFFF#000000##000000
##FDF27A1.001.1618.1618.16
#FFFFFF1.161.0021.0021.00
#00000018.1621.001.001.00
##00000018.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6F
Deuteranopia (green-blind)
#FFF180
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf27a;
/* rgb */ color: rgb(253, 242, 122);
/* oklch */ color: oklch(94.6% 0.142 104.0);
Tailwind
colors: {
  custom: {
    50: '#fff6a3',
    500: '#fdf27a',
    950: '#000000',
  },
}
SCSS
$custom: #fdf27a;
$custom-light: #fff6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf27a",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 122
  },
  "hsl": {
    "h": 54.962,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.94624,
    "c": 0.14178,
    "h": 104
  },
  "luminance": 0.85792
}

Semantic roles & 50–950 ramp

primary
#FDF27A
secondary
#414EDB
accent
#13E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF27A

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

Preview Lab → · Contrast checker → · Palette generator →

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