#FEF5A2#FEF5A2

#FEF5A2 es un color muy claro y moderadamente saturado de la familia amarillo. Luminancia relativa 0.890; OKLCH L 95.9% C 0.104 H 102.8°. El mejor color de texto es #000000 con contraste 18.80:1 (cumple WCAG AA).

Valores del color

HEX#FEF5A2
RGBrgb(254, 245, 162)
HSLhsl(54, 98%, 82%)
HSVhsv(54, 36%, 100%)
CMYKcmyk(0%, 3.5%, 36.2%, 0.4%)
CIE-LABlab(95.57, -8.75, 41.08)
CIE-LCHlch(95.57, 42.00, 102.02°)
OKLaboklab(95.88% -0.023 0.1011)
OKLCHoklch(95.88% 0.104 102.8)
XYZxyz(80.0482, 88.9862, 47.1347)
Luminance0.8898 (WCAG relative)
Temperaturewarm
Familyyellow

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#FEF5A2 #A2ABFE
analogous
#FEC7A2 #FEF5A2 #D9FEA2
triadic
#FEF5A2 #A2FEF5 #F5A2FE
tetradic
#FEF5A2 #A2FEC7 #A2ABFE #FEA2D9
square
#FEF5A2 #A2FEC7 #A2ABFE #FEA2D9
split-complementary
#FEF5A2 #A2D9FE #C7A2FE
monochromatic
#FDE829 #FDEE65 #FEF5A2 #FFFCDF #FFFCE1

Accesibilidad y contraste

On white

1.12
#FEF5A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.80
#FEF5A2 on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #FEF5A2
18.80:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##FEF5A2#FFFFFF#000000##000000
##FEF5A21.001.1218.8018.80
#FFFFFF1.121.0021.0021.00
#00000018.8021.001.001.00
##00000018.8021.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#FFF09C
Deuteranopia (green-blind)
#FFF4A5
Tritanopia (blue-blind)
#FFEAE0
Achromatopsia (no color)
#F2F2F2

Tokens de diseño y código

CSS
--color: #fef5a2;
/* rgb */ color: rgb(254, 245, 162);
/* oklch */ color: oklch(95.9% 0.104 102.8);
Tailwind
colors: {
  custom: {
    50: '#fff8be',
    500: '#fef5a2',
    950: '#000000',
  },
}
SCSS
$custom: #fef5a2;
$custom-light: #fff8be;
$custom-dark: #000000;
JSON
{
  "hex": "#fef5a2",
  "rgb": {
    "r": 254,
    "g": 245,
    "b": 162
  },
  "hsl": {
    "h": 54.13,
    "s": 97.872,
    "l": 81.569
  },
  "oklch": {
    "l": 0.9588,
    "c": 0.1037,
    "h": 102.8
  },
  "luminance": 0.88984
}

Semantic roles & 50–950 ramp

primary
#FEF5A2
secondary
#626FE2
accent
#16E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181712
muted
#868582

Laboratorio de vista previa

Vista previa con #FEF5A2

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

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

#FEF5A2 — Tintiva