#797C36#797C36

#797C36 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.8% C 0.093 H 111.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#797C36
RGBrgb(121, 124, 54)
HSLhsl(63, 39%, 35%)
HSVhsv(63, 56%, 49%)
CMYKcmyk(2.4%, 0%, 56.5%, 51.4%)
CIE-LABlab(50.39, -11.48, 37.20)
CIE-LCHlch(50.39, 38.93, 107.15°)
OKLaboklab(56.84% -0.0337 0.0868)
OKLCHoklch(56.84% 0.093 111.3)
XYZxyz(15.7590, 18.7469, 6.2777)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797C36 #39367C
analogous
#7C5C36 #797C36 #567C36
triadic
#797C36 #36797C #7C3679
tetradic
#797C36 #367C5C #39367C #7C3656
square
#797C36 #367C5C #39367C #7C3656
split-complementary
#797C36 #36567C #5C367C
monochromatic
#262711 #4F5123 #797C36 #A3A749 #BCBF6D

Accessibility & contrast

On white

4.42
#797C36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#797C36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797C36
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797C36#FFFFFF#000000##000000
##797C361.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85772F
Deuteranopia (green-blind)
#85793A
Tritanopia (blue-blind)
#81756D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #797c36;
/* rgb */ color: rgb(121, 124, 54);
/* oklch */ color: oklch(56.8% 0.093 111.3);
Tailwind
colors: {
  custom: {
    50: '#a1a16f',
    500: '#797c36',
    950: '#000000',
  },
}
SCSS
$custom: #797c36;
$custom-light: #a1a16f;
$custom-dark: #000000;
JSON
{
  "hex": "#797c36",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 54
  },
  "hsl": {
    "h": 62.571,
    "s": 39.326,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56835,
    "c": 0.09309,
    "h": 111.3
  },
  "luminance": 0.18747
}

Semantic roles & 50–950 ramp

primary
#797C36
secondary
#6966A8
accent
#59CF5E
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0F07
muted
#7F7E7A

Preview Lab

Preview with #797C36

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

Preview Lab → · Contrast checker → · Palette generator →

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