#FFF27C#FFF27C

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

Color values

HEX#FFF27C
RGBrgb(255, 242, 124)
HSLhsl(54, 100%, 74%)
HSVhsv(54, 51%, 100%)
CMYKcmyk(0%, 5.1%, 51.4%, 0%)
CIE-LABlab(94.41, -10.53, 57.84)
CIE-LCHlch(94.41, 58.79, 100.31°)
OKLaboklab(94.82% -0.0315 0.1363)
OKLCHoklch(94.82% 0.14 103)
XYZxyz(76.6325, 86.2220, 31.6707)
Luminance0.8622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF27C #7C89FF
analogous
#FFB17C #FFF27C #CBFF7C
triadic
#FFF27C #7CFFF2 #F27CFF
tetradic
#FFF27C #7CFFB1 #7C89FF #FF7CCB
square
#FFF27C #7CFFB1 #7C89FF #FF7CCB
split-complementary
#FFF27C #7CCBFF #B17CFF
monochromatic
#FFE602 #FFEC3F #FFF27C #FFF8B9 #FFFCE0

Accessibility & contrast

On white

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

On black

18.24
#FFF27C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF27C
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF27C#FFFFFF#000000##000000
##FFF27C1.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fff27c;
/* rgb */ color: rgb(255, 242, 124);
/* oklch */ color: oklch(94.8% 0.140 103.0);
Tailwind
colors: {
  custom: {
    50: '#fff6a5',
    500: '#fff27c',
    950: '#000000',
  },
}
SCSS
$custom: #fff27c;
$custom-light: #fff6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fff27c",
  "rgb": {
    "r": 255,
    "g": 242,
    "b": 124
  },
  "hsl": {
    "h": 54.046,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.94815,
    "c": 0.13988,
    "h": 103
  },
  "luminance": 0.86219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFF27C

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

Preview Lab → · Contrast checker → · Palette generator →

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