#AFA22B#AFA22B

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

Valores del color

HEX#AFA22B
RGBrgb(175, 162, 43)
HSLhsl(54, 61%, 43%)
HSVhsv(54, 75%, 69%)
CMYKcmyk(0%, 7.4%, 75.4%, 31.4%)
CIE-LABlab(65.85, -8.49, 59.39)
CIE-LCHlch(65.85, 59.99, 98.14°)
OKLaboklab(70.27% -0.0298 0.1304)
OKLCHoklch(70.27% 0.134 102.9)
XYZxyz(31.0370, 35.1304, 7.4310)
Luminance0.3513 (WCAG relative)
Temperaturewarm
Familyyellow

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#AFA22B #2B38AF
analogous
#AF602B #AFA22B #7AAF2B
triadic
#AFA22B #2BAFA2 #A22BAF
tetradic
#AFA22B #2BAF60 #2B38AF #AF2B7A
square
#AFA22B #2BAF60 #2B38AF #AF2B7A
split-complementary
#AFA22B #2B7AAF #602BAF
monochromatic
#4D4713 #7E751F #AFA22B #D1C446 #DED377

Accesibilidad y contraste

On white

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

On black

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

Mejor color de texto

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

Matriz de contraste

fg \ bg##AFA22B#FFFFFF#000000##000000
##AFA22B1.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)
#B19D13
Deuteranopia (green-blind)
#B5A334
Tritanopia (blue-blind)
#BD968B
Achromatopsia (no color)
#A0A0A0

Tokens de diseño y código

CSS
--color: #afa22b;
/* rgb */ color: rgb(175, 162, 43);
/* oklch */ color: oklch(70.3% 0.134 102.9);
Tailwind
colors: {
  custom: {
    50: '#cbbd6e',
    500: '#afa22b',
    950: '#000000',
  },
}
SCSS
$custom: #afa22b;
$custom-light: #cbbd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa22b",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 54.091,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.70271,
    "c": 0.13373,
    "h": 102.9
  },
  "luminance": 0.35129
}

Semantic roles & 50–950 ramp

primary
#AFA22B
secondary
#7079C5
accent
#54E444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141208
muted
#82817B

Laboratorio de vista previa

Vista previa con #AFA22B

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

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

#AFA22B — Tintiva