#797B37#797B37

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

Color values

HEX#797B37
RGBrgb(121, 123, 55)
HSLhsl(62, 38%, 35%)
HSVhsv(62, 55%, 48%)
CMYKcmyk(1.6%, 0%, 55.3%, 51.8%)
CIE-LABlab(50.11, -10.84, 36.37)
CIE-LCHlch(50.11, 37.95, 106.60°)
OKLaboklab(56.61% -0.0318 0.0851)
OKLCHoklch(56.61% 0.091 110.5)
XYZxyz(15.6581, 18.5071, 6.3611)
Luminance0.1851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797B37 #39377B
analogous
#7B5B37 #797B37 #577B37
triadic
#797B37 #37797B #7B3779
tetradic
#797B37 #377B5B #39377B #7B3757
square
#797B37 #377B5B #39377B #7B3757
split-complementary
#797B37 #37577B #5B377B
monochromatic
#262611 #4F5124 #797B37 #A3A54A #BCBE6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##797B37#FFFFFF#000000##000000
##797B371.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)
#847630
Deuteranopia (green-blind)
#84783B
Tritanopia (blue-blind)
#81746C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #797b37;
/* rgb */ color: rgb(121, 123, 55);
/* oklch */ color: oklch(56.6% 0.091 110.5);
Tailwind
colors: {
  custom: {
    50: '#a1a170',
    500: '#797b37',
    950: '#000000',
  },
}
SCSS
$custom: #797b37;
$custom-light: #a1a170;
$custom-dark: #000000;
JSON
{
  "hex": "#797b37",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 55
  },
  "hsl": {
    "h": 61.765,
    "s": 38.202,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56611,
    "c": 0.09084,
    "h": 110.5
  },
  "luminance": 0.18507
}

Semantic roles & 50–950 ramp

primary
#797B37
secondary
#6967A7
accent
#5ACE5D
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #797B37

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

Preview Lab → · Contrast checker → · Palette generator →

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