#FDF27C#FDF27C

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

Color values

HEX#FDF27C
RGBrgb(253, 242, 124)
HSLhsl(55, 97%, 74%)
HSVhsv(55, 51%, 99%)
CMYKcmyk(0%, 4.3%, 51%, 0.8%)
CIE-LABlab(94.25, -11.32, 57.61)
CIE-LCHlch(94.25, 58.71, 101.11°)
OKLaboklab(94.65% -0.0337 0.1358)
OKLCHoklch(94.65% 0.14 103.9)
XYZxyz(75.9004, 85.8446, 31.6364)
Luminance0.8584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF27C #7C87FD
analogous
#FDB27C #FDF27C #C8FD7C
triadic
#FDF27C #7CFDF2 #F27CFD
tetradic
#FDF27C #7CFDB2 #7C87FD #FD7CC8
square
#FDF27C #7CFDB2 #7C87FD #FD7CC8
split-complementary
#FDF27C #7CC8FD #B27CFD
monochromatic
#FBE604 #FCEC40 #FDF27C #FEF8B8 #FFFCE1

Accessibility & contrast

On white

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

On black

18.17
#FDF27C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF27C
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF27C#FFFFFF#000000##000000
##FDF27C1.001.1618.1718.17
#FFFFFF1.161.0021.0021.00
#00000018.1721.001.001.00
##00000018.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf27c;
/* rgb */ color: rgb(253, 242, 124);
/* oklch */ color: oklch(94.6% 0.140 103.9);
Tailwind
colors: {
  custom: {
    50: '#fff6a5',
    500: '#fdf27c',
    950: '#000000',
  },
}
SCSS
$custom: #fdf27c;
$custom-light: #fff6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf27c",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 124
  },
  "hsl": {
    "h": 54.884,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.94648,
    "c": 0.13992,
    "h": 103.9
  },
  "luminance": 0.85842
}

Semantic roles & 50–950 ramp

primary
#FDF27C
secondary
#424FDB
accent
#14E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF27C

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

Preview Lab → · Contrast checker → · Palette generator →

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