#797E11#797E11

#797E11 is a mid, vivid yellow. Relative luminance 0.190; OKLCH L 57.0% C 0.121 H 112.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#797E11
RGBrgb(121, 126, 17)
HSLhsl(63, 76%, 28%)
HSVhsv(63, 87%, 49%)
CMYKcmyk(4%, 0%, 86.5%, 50.6%)
CIE-LABlab(50.72, -14.72, 52.12)
CIE-LCHlch(50.72, 54.16, 105.77°)
OKLaboklab(57.01% -0.0465 0.1122)
OKLCHoklch(57.01% 0.121 112.5)
XYZxyz(15.4477, 19.0275, 3.3891)
Luminance0.1903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E11 #16117E
analogous
#7E4C11 #797E11 #437E11
triadic
#797E11 #11797E #7E1179
tetradic
#797E11 #117E4C #16117E #7E1143
square
#797E11 #117E4C #16117E #7E1143
split-complementary
#797E11 #11437E #4C117E
monochromatic
#1A1B04 #45480A #797E11 #ADB418 #D9E227

Accessibility & contrast

On white

4.37
#797E11 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##797E11#FFFFFF#000000##000000
##797E111.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #797e11;
/* rgb */ color: rgb(121, 126, 17);
/* oklch */ color: oklch(57.0% 0.121 112.5);
Tailwind
colors: {
  custom: {
    50: '#a3a35c',
    500: '#797e11',
    950: '#000000',
  },
}
SCSS
$custom: #797e11;
$custom-light: #a3a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#797e11",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 17
  },
  "hsl": {
    "h": 62.752,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.57013,
    "c": 0.12144,
    "h": 112.5
  },
  "luminance": 0.19027
}

Semantic roles & 50–950 ramp

primary
#797E11
secondary
#3D37B4
accent
#35F33E
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #797E11

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

Preview Lab → · Contrast checker → · Palette generator →

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