#4A7C2F#4A7C2F

#4A7C2F es un color medio y vivo de la familia amarillo verdoso. Luminancia relativa 0.161; OKLCH L 53.3% C 0.121 H 136.1°. El mejor color de texto es #FFFFFF con contraste 4.98:1 (cumple WCAG AA).

Valores del color

HEX#4A7C2F
RGBrgb(74, 124, 47)
HSLhsl(99, 45%, 34%)
HSVhsv(99, 62%, 49%)
CMYKcmyk(40.3%, 0%, 62.1%, 51.4%)
CIE-LABlab(47.07, -31.62, 36.02)
CIE-LCHlch(47.07, 47.93, 131.28°)
OKLaboklab(53.3% -0.0875 0.0841)
OKLCHoklch(53.3% 0.121 136.1)
XYZxyz(10.5445, 16.0758, 5.2361)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#4A7C2F #612F7C
analogous
#707C2F #4A7C2F #2F7C3A
triadic
#4A7C2F #2F4A7C #7C2F4A
tetradic
#4A7C2F #2F707C #612F7C #7C3A2F
square
#4A7C2F #2F707C #612F7C #7C3A2F
split-complementary
#4A7C2F #3A2F7C #7C2F70
monochromatic
#15230D #30501E #4A7C2F #64A840 #84C362

Accesibilidad y contraste

On white

4.98
#4A7C2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#4A7C2F on #000000
AA ✗AA large ✓AAA ✗

Mejor color de texto

#FFFFFF on #4A7C2F
4.98:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##4A7C2F#FFFFFF#000000##FFFFFF
##4A7C2F1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#807227
Deuteranopia (green-blind)
#796E35
Tritanopia (blue-blind)
#48786B
Achromatopsia (no color)
#707070

Tokens de diseño y código

CSS
--color: #4a7c2f;
/* rgb */ color: rgb(74, 124, 47);
/* oklch */ color: oklch(53.3% 0.121 136.1);
Tailwind
colors: {
  custom: {
    50: '#80a26b',
    500: '#4a7c2f',
    950: '#000000',
  },
}
SCSS
$custom: #4a7c2f;
$custom-light: #80a26b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7c2f",
  "rgb": {
    "r": 74,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 98.961,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53303,
    "c": 0.12138,
    "h": 136.1
  },
  "luminance": 0.16076
}

Semantic roles & 50–950 ramp

primary
#4A7C2F
secondary
#8F5CAA
accent
#53D5A7
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0A0F07
muted
#7C7F7A

Laboratorio de vista previa

Vista previa con #4A7C2F

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

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

#4A7C2F — Tintiva