#AFA22C#AFA22C

#AFA22C es un color claro y vivo de la familia amarillo. Luminancia relativa 0.351; OKLCH L 70.3% C 0.133 H 102.8°. El mejor color de texto es #000000 con contraste 8.03:1 (cumple WCAG AA).

Valores del color

HEX#AFA22C
RGBrgb(175, 162, 44)
HSLhsl(54, 60%, 43%)
HSVhsv(54, 75%, 69%)
CMYKcmyk(0%, 7.4%, 74.9%, 31.4%)
CIE-LABlab(65.86, -8.45, 59.04)
CIE-LCHlch(65.86, 59.64, 98.14°)
OKLaboklab(70.28% -0.0296 0.1298)
OKLCHoklch(70.28% 0.133 102.8)
XYZxyz(31.0555, 35.1378, 7.5288)
Luminance0.3514 (WCAG relative)
Temperaturewarm
Familyyellow

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#AFA22C #2C39AF
analogous
#AF612C #AFA22C #7AAF2C
triadic
#AFA22C #2CAFA2 #A22CAF
tetradic
#AFA22C #2CAF61 #2C39AF #AF2C7A
square
#AFA22C #2CAF61 #2C39AF #AF2C7A
split-complementary
#AFA22C #2C7AAF #612CAF
monochromatic
#4D4713 #7E7520 #AFA22C #D1C347 #DDD378

Accesibilidad y contraste

On white

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

On black

8.03
#AFA22C on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #AFA22C
8.03:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##AFA22C#FFFFFF#000000##000000
##AFA22C1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Vista previa de daltonismo

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

Tokens de diseño y código

CSS
--color: #afa22c;
/* rgb */ color: rgb(175, 162, 44);
/* oklch */ color: oklch(70.3% 0.133 102.8);
Tailwind
colors: {
  custom: {
    50: '#cbbd6e',
    500: '#afa22c',
    950: '#000000',
  },
}
SCSS
$custom: #afa22c;
$custom-light: #cbbd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa22c",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 54.046,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70277,
    "c": 0.13315,
    "h": 102.8
  },
  "luminance": 0.35136
}

Semantic roles & 50–950 ramp

primary
#AFA22C
secondary
#727AC5
accent
#55E345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141208
muted
#82817B

Laboratorio de vista previa

Vista previa con #AFA22C

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

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

#AFA22C — Tintiva