#2A8A1B#2A8A1B

#2A8A1B es un color medio y vivo de la familia verde. Luminancia relativa 0.187; OKLCH L 55.6% C 0.169 H 141.3°. El mejor color de texto es #000000 con contraste 4.75:1 (cumple WCAG AA).

Valores del color

HEX#2A8A1B
RGBrgb(42, 138, 27)
HSLhsl(112, 67%, 32%)
HSVhsv(112, 80%, 54%)
CMYKcmyk(69.6%, 0%, 80.4%, 45.9%)
CIE-LABlab(50.39, -48.24, 47.35)
CIE-LCHlch(50.39, 67.60, 135.54°)
OKLaboklab(55.65% -0.1318 0.1056)
OKLCHoklch(55.65% 0.169 141.3)
XYZxyz(10.2406, 18.7473, 4.1156)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familygreen

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#2A8A1B #7B1B8A
analogous
#628A1B #2A8A1B #1B8A44
triadic
#2A8A1B #1B2A8A #8A1B2A
tetradic
#2A8A1B #1B628A #7B1B8A #8A441B
square
#2A8A1B #1B628A #7B1B8A #8A441B
split-complementary
#2A8A1B #441B8A #8A1B62
monochromatic
#0B2407 #1A5711 #2A8A1B #3ABD25 #59DB45

Accesibilidad y contraste

On white

4.42
#2A8A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#2A8A1B on #000000
AA ✓AA large ✓AAA ✗

Mejor color de texto

#000000 on #2A8A1B
4.75:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##2A8A1B#FFFFFF#000000##000000
##2A8A1B1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#158575
Achromatopsia (no color)
#787878

Tokens de diseño y código

CSS
--color: #2a8a1b;
/* rgb */ color: rgb(42, 138, 27);
/* oklch */ color: oklch(55.6% 0.169 141.3);
Tailwind
colors: {
  custom: {
    50: '#72ad61',
    500: '#2a8a1b',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a1b;
$custom-light: #72ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a1b",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 111.892,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5565,
    "c": 0.16888,
    "h": 141.3
  },
  "luminance": 0.18748
}

Semantic roles & 50–950 ramp

primary
#2A8A1B
secondary
#AC45BC
accent
#3EEAD3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Laboratorio de vista previa

Vista previa con #2A8A1B

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

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

#2A8A1B — Tintiva