#FFF27A#FFF27A

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

Color values

HEX#FFF27A
RGBrgb(255, 242, 122)
HSLhsl(54, 100%, 74%)
HSVhsv(54, 52%, 100%)
CMYKcmyk(0%, 5.1%, 52.2%, 0%)
CIE-LABlab(94.39, -10.69, 58.73)
CIE-LCHlch(94.39, 59.70, 100.31°)
OKLaboklab(94.79% -0.0322 0.138)
OKLCHoklch(94.79% 0.142 103.1)
XYZxyz(76.5073, 86.1720, 31.0113)
Luminance0.8617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF27A #7A87FF
analogous
#FFB07A #FFF27A #CAFF7A
triadic
#FFF27A #7AFFF2 #F27AFF
tetradic
#FFF27A #7AFFB0 #7A87FF #FF7ACA
square
#FFF27A #7AFFB0 #7A87FF #FF7ACA
split-complementary
#FFF27A #7ACAFF #B07AFF
monochromatic
#FFE600 #FFEC3D #FFF27A #FFF8B7 #FFFCE0

Accessibility & contrast

On white

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

On black

18.23
#FFF27A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF27A
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF27A#FFFFFF#000000##000000
##FFF27A1.001.1518.2318.23
#FFFFFF1.151.0021.0021.00
#00000018.2321.001.001.00
##00000018.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fff27a;
/* rgb */ color: rgb(255, 242, 122);
/* oklch */ color: oklch(94.8% 0.142 103.1);
Tailwind
colors: {
  custom: {
    50: '#fff6a3',
    500: '#fff27a',
    950: '#000000',
  },
}
SCSS
$custom: #fff27a;
$custom-light: #fff6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fff27a",
  "rgb": {
    "r": 255,
    "g": 242,
    "b": 122
  },
  "hsl": {
    "h": 54.135,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.94791,
    "c": 0.14173,
    "h": 103.1
  },
  "luminance": 0.86169
}

Semantic roles & 50–950 ramp

primary
#FFF27A
secondary
#404FDD
accent
#16E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FFF27A

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

Preview Lab → · Contrast checker → · Palette generator →

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