#AFA628#AFA628

#AFA628 es un color claro y vivo de la familia amarillo. Luminancia relativa 0.365; OKLCH L 71.1% C 0.139 H 105.2°. El mejor color de texto es #000000 con contraste 8.31:1 (cumple WCAG AA).

Valores del color

HEX#AFA628
RGBrgb(175, 166, 40)
HSLhsl(56, 63%, 42%)
HSVhsv(56, 77%, 69%)
CMYKcmyk(0%, 5.1%, 77.1%, 31.4%)
CIE-LABlab(66.93, -10.72, 61.40)
CIE-LCHlch(66.93, 62.33, 99.90°)
OKLaboklab(71.13% -0.0363 0.1341)
OKLCHoklch(71.13% 0.139 105.2)
XYZxyz(31.6998, 36.5408, 7.3904)
Luminance0.3654 (WCAG relative)
Temperaturewarm
Familyyellow

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#AFA628 #2831AF
analogous
#AF6328 #AFA628 #75AF28
triadic
#AFA628 #28AFA6 #A628AF
tetradic
#AFA628 #28AF63 #2831AF #AF2875
square
#AFA628 #28AF63 #2831AF #AF2875
split-complementary
#AFA628 #2875AF #6328AF
monochromatic
#4B4711 #7D771D #AFA628 #D4CA41 #DFD873

Accesibilidad y contraste

On white

2.53
#AFA628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#AFA628 on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #AFA628
8.31:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##AFA628#FFFFFF#000000##000000
##AFA6281.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#B5A008
Deuteranopia (green-blind)
#B8A532
Tritanopia (blue-blind)
#BC9A8E
Achromatopsia (no color)
#A3A3A3

Tokens de diseño y código

CSS
--color: #afa628;
/* rgb */ color: rgb(175, 166, 40);
/* oklch */ color: oklch(71.1% 0.139 105.2);
Tailwind
colors: {
  custom: {
    50: '#cbc06d',
    500: '#afa628',
    950: '#000000',
  },
}
SCSS
$custom: #afa628;
$custom-light: #cbc06d;
$custom-dark: #000000;
JSON
{
  "hex": "#afa628",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 56,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71126,
    "c": 0.13891,
    "h": 105.2
  },
  "luminance": 0.3654
}

Semantic roles & 50–950 ramp

primary
#AFA628
secondary
#6D73C6
accent
#4DE642
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141208
muted
#82817B

Laboratorio de vista previa

Vista previa con #AFA628

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

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

#AFA628 — Tintiva