#FEF2A7#FEF2A7

#FEF2A7 es un color muy claro y moderadamente saturado de la familia amarillo. Luminancia relativa 0.874; OKLCH L 95.4% C 0.095 H 100.2°. El mejor color de texto es #000000 con contraste 18.47:1 (cumple WCAG AA).

Valores del color

HEX#FEF2A7
RGBrgb(254, 242, 167)
HSLhsl(52, 98%, 83%)
HSVhsv(52, 34%, 100%)
CMYKcmyk(0%, 4.7%, 34.3%, 0.4%)
CIE-LABlab(94.89, -6.69, 37.70)
CIE-LCHlch(94.89, 38.29, 100.06°)
OKLaboklab(95.37% -0.0168 0.0934)
OKLCHoklch(95.37% 0.095 100.2)
XYZxyz(79.6013, 87.3671, 49.2221)
Luminance0.8737 (WCAG relative)
Temperaturewarm
Familyyellow

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#FEF2A7 #A7B3FE
analogous
#FEC6A7 #FEF2A7 #DFFEA7
triadic
#FEF2A7 #A7FEF2 #F2A7FE
tetradic
#FEF2A7 #A7FEC6 #A7B3FE #FEA7DF
square
#FEF2A7 #A7FEC6 #A7B3FE #FEA7DF
split-complementary
#FEF2A7 #A7DFFE #C6A7FE
monochromatic
#FDE02E #FDE96A #FEF2A7 #FFFBE1 #FFFBE1

Accesibilidad y contraste

On white

1.14
#FEF2A7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.47
#FEF2A7 on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #FEF2A7
18.47:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##FEF2A7#FFFFFF#000000##000000
##FEF2A71.001.1418.4718.47
#FFFFFF1.141.0021.0021.00
#00000018.4721.001.001.00
##00000018.4721.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#FFEDA2
Deuteranopia (green-blind)
#FFF3AA
Tritanopia (blue-blind)
#FFE8DF
Achromatopsia (no color)
#F0F0F0

Tokens de diseño y código

CSS
--color: #fef2a7;
/* rgb */ color: rgb(254, 242, 167);
/* oklch */ color: oklch(95.4% 0.095 100.2);
Tailwind
colors: {
  custom: {
    50: '#fff6c2',
    500: '#fef2a7',
    950: '#000000',
  },
}
SCSS
$custom: #fef2a7;
$custom-light: #fff6c2;
$custom-dark: #000000;
JSON
{
  "hex": "#fef2a7",
  "rgb": {
    "r": 254,
    "g": 242,
    "b": 167
  },
  "hsl": {
    "h": 51.724,
    "s": 97.753,
    "l": 82.549
  },
  "oklch": {
    "l": 0.95366,
    "c": 0.09494,
    "h": 100.2
  },
  "luminance": 0.87365
}

Semantic roles & 50–950 ramp

primary
#FEF2A7
secondary
#6778E2
accent
#20E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181712
muted
#868582

Laboratorio de vista previa

Vista previa con #FEF2A7

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

Laboratorio de vista previa → · Comprobador de contraste → · Generador de paletas →

#FEF2A7 — Tintiva