#FFF27D#FFF27D

#FFF27D is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.8% C 0.139 H 103.0°. Best body text is #000000 at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#FFF27D
RGBrgb(255, 242, 125)
HSLhsl(54, 100%, 75%)
HSVhsv(54, 51%, 100%)
CMYKcmyk(0%, 5.1%, 51%, 0%)
CIE-LABlab(94.42, -10.45, 57.40)
CIE-LCHlch(94.42, 58.34, 100.31°)
OKLaboklab(94.83% -0.0312 0.1354)
OKLCHoklch(94.83% 0.139 103)
XYZxyz(76.6960, 86.2475, 32.0054)
Luminance0.8625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF27D #7D8AFF
analogous
#FFB17D #FFF27D #CBFF7D
triadic
#FFF27D #7DFFF2 #F27DFF
tetradic
#FFF27D #7DFFB1 #7D8AFF #FF7DCB
square
#FFF27D #7DFFB1 #7D8AFF #FF7DCB
split-complementary
#FFF27D #7DCBFF #B17DFF
monochromatic
#FFE603 #FFEC40 #FFF27D #FFF8BA #FFFCE0

Accessibility & contrast

On white

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

On black

18.25
#FFF27D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF27D
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF27D#FFFFFF#000000##000000
##FFF27D1.001.1518.2518.25
#FFFFFF1.151.0021.0021.00
#00000018.2521.001.001.00
##00000018.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB72
Deuteranopia (green-blind)
#FFF282
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fff27d;
/* rgb */ color: rgb(255, 242, 125);
/* oklch */ color: oklch(94.8% 0.139 103.0);
Tailwind
colors: {
  custom: {
    50: '#fff6a5',
    500: '#fff27d',
    950: '#000000',
  },
}
SCSS
$custom: #fff27d;
$custom-light: #fff6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fff27d",
  "rgb": {
    "r": 255,
    "g": 242,
    "b": 125
  },
  "hsl": {
    "h": 54,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.94827,
    "c": 0.13894,
    "h": 103
  },
  "luminance": 0.86245
}

Semantic roles & 50–950 ramp

primary
#FFF27D
secondary
#4252DE
accent
#17E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FFF27D

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

Preview Lab → · Contrast checker → · Palette generator →

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