#BAB321#BAB321

#BAB321 es un color claro y vivo de la familia amarillo. Luminancia relativa 0.428; OKLCH L 74.9% C 0.152 H 106.6°. El mejor color de texto es #000000 con contraste 9.56:1 (cumple WCAG AA).

Valores del color

HEX#BAB321
RGBrgb(186, 179, 33)
HSLhsl(57, 70%, 43%)
HSVhsv(57, 82%, 73%)
CMYKcmyk(0%, 3.8%, 82.3%, 27.1%)
CIE-LABlab(71.41, -12.86, 67.76)
CIE-LCHlch(71.41, 68.97, 100.75°)
OKLaboklab(74.92% -0.0434 0.146)
OKLCHoklch(74.92% 0.152 106.6)
XYZxyz(36.6459, 42.7905, 7.7676)
Luminance0.4279 (WCAG relative)
Temperaturewarm
Familyyellow

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#BAB321 #2128BA
analogous
#BA6621 #BAB321 #74BA21
triadic
#BAB321 #21BAB3 #B321BA
tetradic
#BAB321 #21BA66 #2128BA #BA2174
square
#BAB321 #21BA66 #2128BA #BA2174
split-complementary
#BAB321 #2174BA #6621BA
monochromatic
#524F0F #868118 #BAB321 #DCD53C #E6E070

Accesibilidad y contraste

On white

2.20
#BAB321 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#BAB321 on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #BAB321
9.56:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##BAB321#FFFFFF#000000##000000
##BAB3211.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C6B12F
Tritanopia (blue-blind)
#C8A699
Achromatopsia (no color)
#AFAFAF

Tokens de diseño y código

CSS
--color: #bab321;
/* rgb */ color: rgb(186, 179, 33);
/* oklch */ color: oklch(74.9% 0.152 106.6);
Tailwind
colors: {
  custom: {
    50: '#d3c96c',
    500: '#bab321',
    950: '#000000',
  },
}
SCSS
$custom: #bab321;
$custom-light: #d3c96c;
$custom-dark: #000000;
JSON
{
  "hex": "#bab321",
  "rgb": {
    "r": 186,
    "g": 179,
    "b": 33
  },
  "hsl": {
    "h": 57.255,
    "s": 69.863,
    "l": 42.941
  },
  "oklch": {
    "l": 0.74916,
    "c": 0.15227,
    "h": 106.6
  },
  "luminance": 0.42789
}

Semantic roles & 50–950 ramp

primary
#BAB321
secondary
#6B6FCC
accent
#43ED3B
background
#FDFCF6
surface
#FBF8EC
border
#D4D1C7
text
#151308
muted
#83827A

Laboratorio de vista previa

Vista previa con #BAB321

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

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

#BAB321 — Tintiva