#AFBA2A#AFBA2A

#AFBA2A es un color claro y vivo de la familia amarillo. Luminancia relativa 0.444; OKLCH L 75.6% C 0.158 H 114.1°. El mejor color de texto es #000000 con contraste 9.88:1 (cumple WCAG AA).

Valores del color

HEX#AFBA2A
RGBrgb(175, 186, 42)
HSLhsl(65, 63%, 45%)
HSVhsv(65, 77%, 73%)
CMYKcmyk(5.9%, 0%, 77.4%, 27.1%)
CIE-LABlab(72.49, -20.83, 65.84)
CIE-LCHlch(72.49, 69.06, 107.56°)
OKLaboklab(75.58% -0.0643 0.1439)
OKLCHoklch(75.58% 0.158 114.1)
XYZxyz(35.6571, 44.3997, 8.8817)
Luminance0.4440 (WCAG relative)
Temperaturewarm
Familyyellow

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#AFBA2A #352ABA
analogous
#BA7D2A #AFBA2A #67BA2A
triadic
#AFBA2A #2AAFBA #BA2AAF
tetradic
#AFBA2A #2ABA7D #352ABA #BA2A67
square
#AFBA2A #2ABA7D #352ABA #BA2A67
split-complementary
#AFBA2A #2A67BA #7D2ABA
monochromatic
#515613 #80881F #AFBA2A #CCD64B #DAE27D

Accesibilidad y contraste

On white

2.13
#AFBA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#AFBA2A on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #AFBA2A
9.88:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##AFBA2A#FFFFFF#000000##000000
##AFBA2A1.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#C8B100
Deuteranopia (green-blind)
#C8B337
Tritanopia (blue-blind)
#BBAF9F
Achromatopsia (no color)
#B2B2B2

Tokens de diseño y código

CSS
--color: #afba2a;
/* rgb */ color: rgb(175, 186, 42);
/* oklch */ color: oklch(75.6% 0.158 114.1);
Tailwind
colors: {
  custom: {
    50: '#cbce70',
    500: '#afba2a',
    950: '#000000',
  },
}
SCSS
$custom: #afba2a;
$custom-light: #cbce70;
$custom-dark: #000000;
JSON
{
  "hex": "#afba2a",
  "rgb": {
    "r": 175,
    "g": 186,
    "b": 42
  },
  "hsl": {
    "h": 64.583,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.75576,
    "c": 0.15762,
    "h": 114.1
  },
  "luminance": 0.44399
}

Semantic roles & 50–950 ramp

primary
#AFBA2A
secondary
#7C76CA
accent
#42E64E
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B

Laboratorio de vista previa

Vista previa con #AFBA2A

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

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

#AFBA2A — Tintiva