#797E10#797E10

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

Color values

HEX#797E10
RGBrgb(121, 126, 16)
HSLhsl(63, 77%, 28%)
HSVhsv(63, 87%, 49%)
CMYKcmyk(4%, 0%, 87.3%, 50.6%)
CIE-LABlab(50.72, -14.75, 52.36)
CIE-LCHlch(50.72, 54.40, 105.73°)
OKLaboklab(57.01% -0.0467 0.1125)
OKLCHoklch(57.01% 0.122 112.5)
XYZxyz(15.4401, 19.0245, 3.3489)
Luminance0.1902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E10 #15107E
analogous
#7E4C10 #797E10 #427E10
triadic
#797E10 #10797E #7E1079
tetradic
#797E10 #107E4C #15107E #7E1042
square
#797E10 #107E4C #15107E #7E1042
split-complementary
#797E10 #10427E #4C107E
monochromatic
#1A1B03 #454809 #797E10 #ADB417 #DBE325

Accessibility & contrast

On white

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

On black

4.80
#797E10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E10
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E10#FFFFFF#000000##000000
##797E101.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #797e10;
/* rgb */ color: rgb(121, 126, 16);
/* oklch */ color: oklch(57.0% 0.122 112.5);
Tailwind
colors: {
  custom: {
    50: '#a3a35c',
    500: '#797e10',
    950: '#000000',
  },
}
SCSS
$custom: #797e10;
$custom-light: #a3a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#797e10",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 16
  },
  "hsl": {
    "h": 62.727,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.57009,
    "c": 0.12181,
    "h": 112.5
  },
  "luminance": 0.19024
}

Semantic roles & 50–950 ramp

primary
#797E10
secondary
#3B36B4
accent
#34F43D
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #797E10

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

Preview Lab → · Contrast checker → · Palette generator →

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