#797B36#797B36

#797B36 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.6% C 0.092 H 110.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#797B36
RGBrgb(121, 123, 54)
HSLhsl(62, 39%, 35%)
HSVhsv(62, 56%, 48%)
CMYKcmyk(1.6%, 0%, 56.1%, 51.8%)
CIE-LABlab(50.09, -10.93, 36.86)
CIE-LCHlch(50.09, 38.45, 106.52°)
OKLaboklab(56.6% -0.0322 0.086)
OKLCHoklch(56.6% 0.092 110.5)
XYZxyz(15.6343, 18.4976, 6.2361)
Luminance0.1850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797B36 #38367B
analogous
#7B5B36 #797B36 #577B36
triadic
#797B36 #36797B #7B3679
tetradic
#797B36 #367B5B #38367B #7B3657
square
#797B36 #367B5B #38367B #7B3657
split-complementary
#797B36 #36577B #5B367B
monochromatic
#252611 #4F5023 #797B36 #A3A649 #BCBF6D

Accessibility & contrast

On white

4.47
#797B36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#797B36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797B36
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797B36#FFFFFF#000000##000000
##797B361.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#84762F
Deuteranopia (green-blind)
#84783A
Tritanopia (blue-blind)
#81746C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #797b36;
/* rgb */ color: rgb(121, 123, 54);
/* oklch */ color: oklch(56.6% 0.092 110.5);
Tailwind
colors: {
  custom: {
    50: '#a1a16f',
    500: '#797b36',
    950: '#000000',
  },
}
SCSS
$custom: #797b36;
$custom-light: #a1a16f;
$custom-dark: #000000;
JSON
{
  "hex": "#797b36",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 54
  },
  "hsl": {
    "h": 61.739,
    "s": 38.983,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56599,
    "c": 0.09186,
    "h": 110.5
  },
  "luminance": 0.18497
}

Semantic roles & 50–950 ramp

primary
#797B36
secondary
#6765A7
accent
#59CF5C
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #797B36

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

Preview Lab → · Contrast checker → · Palette generator →

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