#797D37#797D37

#797D37 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.1% C 0.093 H 112.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#797D37
RGBrgb(121, 125, 55)
HSLhsl(63, 39%, 35%)
HSVhsv(63, 56%, 49%)
CMYKcmyk(3.2%, 0%, 56%, 51%)
CIE-LABlab(50.70, -11.94, 37.05)
CIE-LCHlch(50.70, 38.93, 107.86°)
OKLaboklab(57.08% -0.0349 0.0866)
OKLCHoklch(57.08% 0.093 112)
XYZxyz(15.9087, 19.0083, 6.4446)
Luminance0.1901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797D37 #3B377D
analogous
#7D5E37 #797D37 #567D37
triadic
#797D37 #37797D #7D3779
tetradic
#797D37 #377D5E #3B377D #7D3756
square
#797D37 #377D5E #3B377D #7D3756
split-complementary
#797D37 #37567D #5E377D
monochromatic
#272812 #505224 #797D37 #A2A74A #BBC06F

Accessibility & contrast

On white

4.37
#797D37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#797D37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797D37
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797D37#FFFFFF#000000##000000
##797D371.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#867830
Deuteranopia (green-blind)
#867A3B
Tritanopia (blue-blind)
#80766D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #797d37;
/* rgb */ color: rgb(121, 125, 55);
/* oklch */ color: oklch(57.1% 0.093 112.0);
Tailwind
colors: {
  custom: {
    50: '#a1a270',
    500: '#797d37',
    950: '#000000',
  },
}
SCSS
$custom: #797d37;
$custom-light: #a1a270;
$custom-dark: #000000;
JSON
{
  "hex": "#797d37",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 55
  },
  "hsl": {
    "h": 63.429,
    "s": 38.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57084,
    "c": 0.09333,
    "h": 112
  },
  "luminance": 0.19008
}

Semantic roles & 50–950 ramp

primary
#797D37
secondary
#6B67A8
accent
#59CF60
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0F08
muted
#7F7E7B

Preview Lab

Preview with #797D37

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

Preview Lab → · Contrast checker → · Palette generator →

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