#FEF2A5#FEF2A5

#FEF2A5 es un color muy claro y moderadamente saturado de la familia amarillo. Luminancia relativa 0.873; OKLCH L 95.3% C 0.097 H 100.4°. El mejor color de texto es #000000 con contraste 18.46:1 (cumple WCAG AA).

Valores del color

HEX#FEF2A5
RGBrgb(254, 242, 165)
HSLhsl(52, 98%, 82%)
HSVhsv(52, 35%, 100%)
CMYKcmyk(0%, 4.7%, 35%, 0.4%)
CIE-LABlab(94.86, -6.92, 38.66)
CIE-LCHlch(94.86, 39.27, 100.15°)
OKLaboklab(95.33% -0.0176 0.0956)
OKLCHoklch(95.33% 0.097 100.4)
XYZxyz(79.4178, 87.2937, 48.2559)
Luminance0.8729 (WCAG relative)
Temperaturewarm
Familyyellow

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#FEF2A5 #A5B1FE
analogous
#FEC6A5 #FEF2A5 #DEFEA5
triadic
#FEF2A5 #A5FEF2 #F2A5FE
tetradic
#FEF2A5 #A5FEC6 #A5B1FE #FEA5DE
square
#FEF2A5 #A5FEC6 #A5B1FE #FEA5DE
split-complementary
#FEF2A5 #A5DEFE #C6A5FE
monochromatic
#FDE12C #FDE968 #FEF2A5 #FFFBE1 #FFFBE1

Accesibilidad y contraste

On white

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

On black

18.46
#FEF2A5 on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #FEF2A5
18.46:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##FEF2A5#FFFFFF#000000##000000
##FEF2A51.001.1418.4618.46
#FFFFFF1.141.0021.0021.00
#00000018.4621.001.001.00
##00000018.4621.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#FFEDA0
Deuteranopia (green-blind)
#FFF3A8
Tritanopia (blue-blind)
#FFE8DE
Achromatopsia (no color)
#F0F0F0

Tokens de diseño y código

CSS
--color: #fef2a5;
/* rgb */ color: rgb(254, 242, 165);
/* oklch */ color: oklch(95.3% 0.097 100.4);
Tailwind
colors: {
  custom: {
    50: '#fff6c0',
    500: '#fef2a5',
    950: '#000000',
  },
}
SCSS
$custom: #fef2a5;
$custom-light: #fff6c0;
$custom-dark: #000000;
JSON
{
  "hex": "#fef2a5",
  "rgb": {
    "r": 254,
    "g": 242,
    "b": 165
  },
  "hsl": {
    "h": 51.91,
    "s": 97.802,
    "l": 82.157
  },
  "oklch": {
    "l": 0.95331,
    "c": 0.09722,
    "h": 100.4
  },
  "luminance": 0.87292
}

Semantic roles & 50–950 ramp

primary
#FEF2A5
secondary
#6576E2
accent
#1FE600
background
#FFFFFD
surface
#FFFEF9
border
#D7D6D2
text
#181712
muted
#868582

Laboratorio de vista previa

Vista previa con #FEF2A5

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

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

#FEF2A5 — Tintiva