#797E19#797E19

#797E19 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.1% C 0.118 H 112.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#797E19
RGBrgb(121, 126, 25)
HSLhsl(63, 67%, 30%)
HSVhsv(63, 80%, 49%)
CMYKcmyk(4%, 0%, 80.2%, 50.6%)
CIE-LABlab(50.75, -14.43, 49.85)
CIE-LCHlch(50.75, 51.89, 106.15°)
OKLaboklab(57.05% -0.0451 0.1088)
OKLCHoklch(57.05% 0.118 112.5)
XYZxyz(15.5220, 19.0572, 3.7803)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E19 #1E197E
analogous
#7E5019 #797E19 #477E19
triadic
#797E19 #19797E #7E1979
tetradic
#797E19 #197E50 #1E197E #7E1947
square
#797E19 #197E50 #1E197E #7E1947
split-complementary
#797E19 #19477E #50197E
monochromatic
#191A05 #484B0F #797E19 #AAB123 #D0D83A

Accessibility & contrast

On white

4.36
#797E19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#797E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E19
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E19#FFFFFF#000000##000000
##797E191.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#887A22
Tritanopia (blue-blind)
#82766B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #797e19;
/* rgb */ color: rgb(121, 126, 25);
/* oklch */ color: oklch(57.1% 0.118 112.5);
Tailwind
colors: {
  custom: {
    50: '#a3a360',
    500: '#797e19',
    950: '#000000',
  },
}
SCSS
$custom: #797e19;
$custom-light: #a3a360;
$custom-dark: #000000;
JSON
{
  "hex": "#797e19",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 62.97,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.57052,
    "c": 0.11777,
    "h": 112.5
  },
  "luminance": 0.19057
}

Semantic roles & 50–950 ramp

primary
#797E19
secondary
#4641B2
accent
#3EEA47
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #797E19

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

Preview Lab → · Contrast checker → · Palette generator →

#797E19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva