#797D39#797D39

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

Color values

HEX#797D39
RGBrgb(121, 125, 57)
HSLhsl(64, 37%, 36%)
HSVhsv(64, 54%, 49%)
CMYKcmyk(3.2%, 0%, 54.4%, 51%)
CIE-LABlab(50.72, -11.75, 36.07)
CIE-LCHlch(50.72, 37.93, 108.05°)
OKLaboklab(57.11% -0.0342 0.0847)
OKLCHoklch(57.11% 0.091 112)
XYZxyz(15.9576, 19.0279, 6.7022)
Luminance0.1903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797D39 #3D397D
analogous
#7D5F39 #797D39 #577D39
triadic
#797D39 #39797D #7D3979
tetradic
#797D39 #397D5F #3D397D #7D3957
square
#797D39 #397D5F #3D397D #7D3957
split-complementary
#797D39 #39577D #5F397D
monochromatic
#282913 #505326 #797D39 #A2A74C #BABF72

Accessibility & contrast

On white

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

On black

4.81
#797D39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797D39
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797D39#FFFFFF#000000##000000
##797D391.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#867832
Deuteranopia (green-blind)
#867A3D
Tritanopia (blue-blind)
#80766E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #797d39;
/* rgb */ color: rgb(121, 125, 57);
/* oklch */ color: oklch(57.1% 0.091 112.0);
Tailwind
colors: {
  custom: {
    50: '#a1a272',
    500: '#797d39',
    950: '#000000',
  },
}
SCSS
$custom: #797d39;
$custom-light: #a1a272;
$custom-dark: #000000;
JSON
{
  "hex": "#797d39",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 57
  },
  "hsl": {
    "h": 63.529,
    "s": 37.363,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57109,
    "c": 0.09129,
    "h": 112
  },
  "luminance": 0.19028
}

Semantic roles & 50–950 ramp

primary
#797D39
secondary
#6E6AA8
accent
#5ACD61
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0F08
muted
#7F7E7B

Preview Lab

Preview with #797D39

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

Preview Lab → · Contrast checker → · Palette generator →

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