#797F2C#797F2C

#797F2C es un color medio y moderadamente saturado de la familia amarillo. Luminancia relativa 0.194; OKLCH L 57.4% C 0.106 H 113.2°. El mejor color de texto es #000000 con contraste 4.89:1 (cumple WCAG AA).

Valores del color

HEX#797F2C
RGBrgb(121, 127, 44)
HSLhsl(64, 49%, 34%)
HSVhsv(64, 65%, 50%)
CMYKcmyk(4.7%, 0%, 65.4%, 50.2%)
CIE-LABlab(51.18, -13.91, 42.84)
CIE-LCHlch(51.18, 45.04, 107.98°)
OKLaboklab(57.44% -0.0417 0.0974)
OKLCHoklch(57.44% 0.106 113.2)
XYZxyz(15.9296, 19.4259, 5.2928)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familyyellow

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#797F2C #322C7F
analogous
#7F5B2C #797F2C #4F7F2C
triadic
#797F2C #2C797F #7F2C79
tetradic
#797F2C #2C7F5B #322C7F #7F2C4F
square
#797F2C #2C7F5B #322C7F #7F2C4F
split-complementary
#797F2C #2C4F7F #5B2C7F
monochromatic
#22240D #4E521C #797F2C #A4AC3C #C0C75E

Accesibilidad y contraste

On white

4.30
#797F2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#797F2C on #000000
AA ✓AA large ✓AAA ✗

Mejor color de texto

#000000 on #797F2C
4.89:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##797F2C#FFFFFF#000000##000000
##797F2C1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#887921
Deuteranopia (green-blind)
#887B31
Tritanopia (blue-blind)
#81786E
Achromatopsia (no color)
#7A7A7A

Tokens de diseño y código

CSS
--color: #797f2c;
/* rgb */ color: rgb(121, 127, 44);
/* oklch */ color: oklch(57.4% 0.106 113.2);
Tailwind
colors: {
  custom: {
    50: '#a2a46a',
    500: '#797f2c',
    950: '#000000',
  },
}
SCSS
$custom: #797f2c;
$custom-light: #a2a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#797f2c",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 44
  },
  "hsl": {
    "h": 64.337,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57436,
    "c": 0.10596,
    "h": 113.2
  },
  "luminance": 0.19426
}

Semantic roles & 50–950 ramp

primary
#797F2C
secondary
#5F59AD
accent
#50D85A
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F07
muted
#7F7F7A

Laboratorio de vista previa

Vista previa con #797F2C

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

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

#797F2C — Tintiva