#AFA226#AFA226

#AFA226 es un color claro y vivo de la familia amarillo. Luminancia relativa 0.351; OKLCH L 70.2% C 0.136 H 103.1°. El mejor color de texto es #000000 con contraste 8.02:1 (cumple WCAG AA).

Valores del color

HEX#AFA226
RGBrgb(175, 162, 38)
HSLhsl(54, 64%, 42%)
HSVhsv(54, 78%, 69%)
CMYKcmyk(0%, 7.4%, 78.3%, 31.4%)
CIE-LABlab(65.82, -8.69, 61.04)
CIE-LCHlch(65.82, 61.66, 98.11°)
OKLaboklab(70.24% -0.0308 0.1329)
OKLCHoklch(70.24% 0.136 103.1)
XYZxyz(30.9508, 35.0959, 6.9772)
Luminance0.3509 (WCAG relative)
Temperaturewarm
Familyyellow

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#AFA226 #2633AF
analogous
#AF5E26 #AFA226 #77AF26
triadic
#AFA226 #26AFA2 #A226AF
tetradic
#AFA226 #26AF5E #2633AF #AF2677
square
#AFA226 #26AF5E #2633AF #AF2677
split-complementary
#AFA226 #2677AF #5E26AF
monochromatic
#4A4510 #7D731B #AFA226 #D5C73D #E0D570

Accesibilidad y contraste

On white

2.62
#AFA226 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#AFA226 on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #AFA226
8.02:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##AFA226#FFFFFF#000000##000000
##AFA2261.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#B19D04
Deuteranopia (green-blind)
#B5A330
Tritanopia (blue-blind)
#BD968B
Achromatopsia (no color)
#A0A0A0

Tokens de diseño y código

CSS
--color: #afa226;
/* rgb */ color: rgb(175, 162, 38);
/* oklch */ color: oklch(70.2% 0.136 103.1);
Tailwind
colors: {
  custom: {
    50: '#cbbd6b',
    500: '#afa226',
    950: '#000000',
  },
}
SCSS
$custom: #afa226;
$custom-light: #cbbd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#afa226",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 38
  },
  "hsl": {
    "h": 54.307,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70241,
    "c": 0.13645,
    "h": 103.1
  },
  "luminance": 0.35095
}

Semantic roles & 50–950 ramp

primary
#AFA226
secondary
#6A73C7
accent
#50E740
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141207
muted
#83817A

Laboratorio de vista previa

Vista previa con #AFA226

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

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

#AFA226 — Tintiva