#AFA522#AFA522

#AFA522 es un color claro y vivo de la familia amarillo. Luminancia relativa 0.361; OKLCH L 70.9% C 0.141 H 104.8°. El mejor color de texto es #000000 con contraste 8.23:1 (cumple WCAG AA).

Valores del color

HEX#AFA522
RGBrgb(175, 165, 34)
HSLhsl(56, 67%, 41%)
HSVhsv(56, 81%, 69%)
CMYKcmyk(0%, 5.7%, 80.6%, 31.4%)
CIE-LABlab(66.63, -10.42, 62.98)
CIE-LCHlch(66.63, 63.84, 99.39°)
OKLaboklab(70.88% -0.036 0.1363)
OKLCHoklch(70.88% 0.141 104.8)
XYZxyz(31.4245, 36.1410, 6.8337)
Luminance0.3614 (WCAG relative)
Temperaturewarm
Familyyellow

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#AFA522 #222CAF
analogous
#AF5E22 #AFA522 #72AF22
triadic
#AFA522 #22AFA5 #A522AF
tetradic
#AFA522 #22AF5E #222CAF #AF2272
square
#AFA522 #22AF5E #222CAF #AF2272
split-complementary
#AFA522 #2272AF #5E22AF
monochromatic
#49440E #7C7518 #AFA522 #D8CD36 #E2D969

Accesibilidad y contraste

On white

2.55
#AFA522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#AFA522 on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #AFA522
8.23:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##AFA522#FFFFFF#000000##000000
##AFA5221.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#B8A52D
Tritanopia (blue-blind)
#BD998D
Achromatopsia (no color)
#A2A2A2

Tokens de diseño y código

CSS
--color: #afa522;
/* rgb */ color: rgb(175, 165, 34);
/* oklch */ color: oklch(70.9% 0.141 104.8);
Tailwind
colors: {
  custom: {
    50: '#cbbf6a',
    500: '#afa522',
    950: '#000000',
  },
}
SCSS
$custom: #afa522;
$custom-light: #cbbf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#afa522",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 55.745,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70875,
    "c": 0.14098,
    "h": 104.8
  },
  "luminance": 0.3614
}

Semantic roles & 50–950 ramp

primary
#AFA522
secondary
#656CC8
accent
#4AEA3D
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141207
muted
#83817A

Laboratorio de vista previa

Vista previa con #AFA522

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

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

#AFA522 — Tintiva