#797E37#797E37

#797E37 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.3% C 0.095 H 112.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#797E37
RGBrgb(121, 126, 55)
HSLhsl(64, 39%, 35%)
HSVhsv(64, 56%, 49%)
CMYKcmyk(4%, 0%, 56.3%, 50.6%)
CIE-LABlab(50.99, -12.48, 37.39)
CIE-LCHlch(50.99, 39.42, 108.46°)
OKLaboklab(57.32% -0.0365 0.0873)
OKLCHoklch(57.32% 0.095 112.7)
XYZxyz(16.0359, 19.2628, 6.4870)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E37 #3C377E
analogous
#7E5F37 #797E37 #557E37
triadic
#797E37 #37797E #7E3779
tetradic
#797E37 #377E5F #3C377E #7E3755
square
#797E37 #377E5F #3C377E #7E3755
split-complementary
#797E37 #37557E #5F377E
monochromatic
#272912 #505324 #797E37 #A2A94A #BBC06F

Accessibility & contrast

On white

4.33
#797E37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#797E37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E37
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E37#FFFFFF#000000##000000
##797E371.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#877930
Deuteranopia (green-blind)
#877A3B
Tritanopia (blue-blind)
#80776E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #797e37;
/* rgb */ color: rgb(121, 126, 55);
/* oklch */ color: oklch(57.3% 0.095 112.7);
Tailwind
colors: {
  custom: {
    50: '#a1a370',
    500: '#797e37',
    950: '#000000',
  },
}
SCSS
$custom: #797e37;
$custom-light: #a1a370;
$custom-dark: #000000;
JSON
{
  "hex": "#797e37",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 55
  },
  "hsl": {
    "h": 64.225,
    "s": 39.227,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5732,
    "c": 0.09461,
    "h": 112.7
  },
  "luminance": 0.19262
}

Semantic roles & 50–950 ramp

primary
#797E37
secondary
#6C68A9
accent
#59CF61
background
#FAFAF6
surface
#F4F3EC
border
#CECDC7
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #797E37

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

Preview Lab → · Contrast checker → · Palette generator →

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