#FEF2A8#FEF2A8

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

Valores del color

HEX#FEF2A8
RGBrgb(254, 242, 168)
HSLhsl(52, 98%, 83%)
HSVhsv(52, 34%, 100%)
CMYKcmyk(0%, 4.7%, 33.9%, 0.4%)
CIE-LABlab(94.91, -6.58, 37.22)
CIE-LCHlch(94.91, 37.80, 100.02°)
OKLaboklab(95.38% -0.0164 0.0924)
OKLCHoklch(95.38% 0.094 100.1)
XYZxyz(79.6941, 87.4042, 49.7108)
Luminance0.8740 (WCAG relative)
Temperaturewarm
Familyyellow

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#FEF2A8 #A8B4FE
analogous
#FEC7A8 #FEF2A8 #DFFEA8
triadic
#FEF2A8 #A8FEF2 #F2A8FE
tetradic
#FEF2A8 #A8FEC7 #A8B4FE #FEA8DF
square
#FEF2A8 #A8FEC7 #A8B4FE #FEA8DF
split-complementary
#FEF2A8 #A8DFFE #C7A8FE
monochromatic
#FDE02F #FDE96B #FEF2A8 #FFFAE1 #FFFAE1

Accesibilidad y contraste

On white

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

On black

18.48
#FEF2A8 on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #FEF2A8
18.48:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##FEF2A8#FFFFFF#000000##000000
##FEF2A81.001.1418.4818.48
#FFFFFF1.141.0021.0021.00
#00000018.4821.001.001.00
##00000018.4821.001.001.00

Vista previa de daltonismo

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

Tokens de diseño y código

CSS
--color: #fef2a8;
/* rgb */ color: rgb(254, 242, 168);
/* oklch */ color: oklch(95.4% 0.094 100.1);
Tailwind
colors: {
  custom: {
    50: '#fff6c2',
    500: '#fef2a8',
    950: '#000000',
  },
}
SCSS
$custom: #fef2a8;
$custom-light: #fff6c2;
$custom-dark: #000000;
JSON
{
  "hex": "#fef2a8",
  "rgb": {
    "r": 254,
    "g": 242,
    "b": 168
  },
  "hsl": {
    "h": 51.628,
    "s": 97.727,
    "l": 82.745
  },
  "oklch": {
    "l": 0.95383,
    "c": 0.0938,
    "h": 100.1
  },
  "luminance": 0.87402
}

Semantic roles & 50–950 ramp

primary
#FEF2A8
secondary
#6879E3
accent
#20E600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181712
muted
#868582

Laboratorio de vista previa

Vista previa con #FEF2A8

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

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

#FEF2A8 — Tintiva