#5A8A1B#5A8A1B

#5A8A1B es un color medio y vivo de la familia amarillo verdoso. Luminancia relativa 0.204; OKLCH L 57.8% C 0.146 H 130.9°. El mejor color de texto es #000000 con contraste 5.09:1 (cumple WCAG AA).

Valores del color

HEX#5A8A1B
RGBrgb(90, 138, 27)
HSLhsl(86, 67%, 32%)
HSVhsv(86, 80%, 54%)
CMYKcmyk(34.8%, 0%, 80.4%, 45.9%)
CIE-LABlab(52.32, -33.59, 49.85)
CIE-LCHlch(52.32, 60.11, 123.97°)
OKLaboklab(57.77% -0.0955 0.1101)
OKLCHoklch(57.77% 0.146 130.9)
XYZxyz(13.5027, 20.4293, 4.2685)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familyyellow-green

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#5A8A1B #4B1B8A
analogous
#8A831B #5A8A1B #228A1B
triadic
#5A8A1B #1B5A8A #8A1B5A
tetradic
#5A8A1B #1B8A83 #4B1B8A #8A1B22
square
#5A8A1B #1B8A83 #4B1B8A #8A1B22
split-complementary
#5A8A1B #1B228A #831B8A
monochromatic
#172407 #395711 #5A8A1B #7BBD25 #9ADB45

Accesibilidad y contraste

On white

4.13
#5A8A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#5A8A1B on #000000
AA ✓AA large ✓AAA ✗

Mejor color de texto

#000000 on #5A8A1B
5.09:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##5A8A1B#FFFFFF#000000##000000
##5A8A1B1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#8A7C27
Tritanopia (blue-blind)
#5C8476
Achromatopsia (no color)
#7D7D7D

Tokens de diseño y código

CSS
--color: #5a8a1b;
/* rgb */ color: rgb(90, 138, 27);
/* oklch */ color: oklch(57.8% 0.146 130.9);
Tailwind
colors: {
  custom: {
    50: '#8dac62',
    500: '#5a8a1b',
    950: '#000000',
  },
}
SCSS
$custom: #5a8a1b;
$custom-light: #8dac62;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8a1b",
  "rgb": {
    "r": 90,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 85.946,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57768,
    "c": 0.14576,
    "h": 130.9
  },
  "luminance": 0.2043
}

Semantic roles & 50–950 ramp

primary
#5A8A1B
secondary
#7845BC
accent
#3EEA88
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Laboratorio de vista previa

Vista previa con #5A8A1B

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

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

#5A8A1B — Tintiva