#AFA331#AFA331

#AFA331 es un color claro y vivo de la familia amarillo. Luminancia relativa 0.355; OKLCH L 70.5% C 0.131 H 103.2°. El mejor color de texto es #000000 con contraste 8.11:1 (cumple WCAG AA).

Valores del color

HEX#AFA331
RGBrgb(175, 163, 49)
HSLhsl(54, 56%, 44%)
HSVhsv(54, 72%, 69%)
CMYKcmyk(0%, 6.9%, 72%, 31.4%)
CIE-LABlab(66.16, -8.74, 57.50)
CIE-LCHlch(66.16, 58.16, 98.64°)
OKLaboklab(70.53% -0.0299 0.1275)
OKLCHoklch(70.53% 0.131 103.2)
XYZxyz(31.3321, 35.5314, 8.1130)
Luminance0.3553 (WCAG relative)
Temperaturewarm
Familyyellow

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#AFA331 #313DAF
analogous
#AF6431 #AFA331 #7CAF31
triadic
#AFA331 #31AFA3 #A331AF
tetradic
#AFA331 #31AF64 #313DAF #AF317C
square
#AFA331 #31AF64 #313DAF #AF317C
split-complementary
#AFA331 #317CAF #6431AF
monochromatic
#4F4A16 #7F7624 #AFA331 #CEC24F #DBD27F

Accesibilidad y contraste

On white

2.59
#AFA331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#AFA331 on #000000
AA ✓AA large ✓AAA ✓

Mejor color de texto

#000000 on #AFA331
8.11:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##AFA331#FFFFFF#000000##000000
##AFA3311.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#B29E1E
Deuteranopia (green-blind)
#B6A339
Tritanopia (blue-blind)
#BC988D
Achromatopsia (no color)
#A1A1A1

Tokens de diseño y código

CSS
--color: #afa331;
/* rgb */ color: rgb(175, 163, 49);
/* oklch */ color: oklch(70.5% 0.131 103.2);
Tailwind
colors: {
  custom: {
    50: '#cabd71',
    500: '#afa331',
    950: '#000000',
  },
}
SCSS
$custom: #afa331;
$custom-light: #cabd71;
$custom-dark: #000000;
JSON
{
  "hex": "#afa331",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 54.286,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.70529,
    "c": 0.13095,
    "h": 103.2
  },
  "luminance": 0.3553
}

Semantic roles & 50–950 ramp

primary
#AFA331
secondary
#787FC4
accent
#57E048
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Laboratorio de vista previa

Vista previa con #AFA331

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

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

#AFA331 — Tintiva