#797C13#797C13

#797C13 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.5% C 0.118 H 111.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#797C13
RGBrgb(121, 124, 19)
HSLhsl(62, 73%, 28%)
HSVhsv(62, 85%, 49%)
CMYKcmyk(2.4%, 0%, 84.7%, 51.4%)
CIE-LABlab(50.13, -13.58, 51.09)
CIE-LCHlch(50.13, 52.87, 104.89°)
OKLaboklab(56.54% -0.0432 0.1103)
OKLCHoklch(56.54% 0.118 111.4)
XYZxyz(15.2109, 18.5277, 3.3909)
Luminance0.1853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797C13 #16137C
analogous
#7C4A13 #797C13 #447C13
triadic
#797C13 #13797C #7C1379
tetradic
#797C13 #137C4A #16137C #7C1344
square
#797C13 #137C4A #16137C #7C1344
split-complementary
#797C13 #13447C #4A137C
monochromatic
#1A1B04 #45470B #797C13 #ADB11B #D9DF2B

Accessibility & contrast

On white

4.46
#797C13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#797C13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797C13
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797C13#FFFFFF#000000##000000
##797C131.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#87781E
Tritanopia (blue-blind)
#827469
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #797c13;
/* rgb */ color: rgb(121, 124, 19);
/* oklch */ color: oklch(56.5% 0.118 111.4);
Tailwind
colors: {
  custom: {
    50: '#a3a15d',
    500: '#797c13',
    950: '#000000',
  },
}
SCSS
$custom: #797c13;
$custom-light: #a3a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#797c13",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 19
  },
  "hsl": {
    "h": 61.714,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.56544,
    "c": 0.11848,
    "h": 111.4
  },
  "luminance": 0.18527
}

Semantic roles & 50–950 ramp

primary
#797C13
secondary
#3D39B2
accent
#38F03D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #797C13

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

Preview Lab → · Contrast checker → · Palette generator →

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