#798D52#798D52

#798D52 is a mid, moderate yellow-green. Relative luminance 0.237; OKLCH L 61.3% C 0.086 H 124.2°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#798D52
RGBrgb(121, 141, 82)
HSLhsl(80, 26%, 44%)
HSVhsv(80, 42%, 55%)
CMYKcmyk(14.2%, 0%, 41.8%, 44.7%)
CIE-LABlab(55.81, -17.52, 29.10)
CIE-LCHlch(55.81, 33.97, 121.05°)
OKLaboklab(61.29% -0.0483 0.0711)
OKLCHoklch(61.29% 0.086 124.2)
XYZxyz(18.9329, 23.7238, 11.5627)
Luminance0.2372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798D52 #66528D
analogous
#8D8352 #798D52 #5B8D52
triadic
#798D52 #52798D #8D5279
tetradic
#798D52 #528D83 #66528D #8D525B
square
#798D52 #528D83 #66528D #8D525B
split-complementary
#798D52 #525B8D #83528D
monochromatic
#374025 #58663B #798D52 #98AC70 #B4C297

Accessibility & contrast

On white

3.66
#798D52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#798D52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798D52
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798D52#FFFFFF#000000##000000
##798D521.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93864E
Deuteranopia (green-blind)
#908655
Tritanopia (blue-blind)
#7D887F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #798d52;
/* rgb */ color: rgb(121, 141, 82);
/* oklch */ color: oklch(61.3% 0.086 124.2);
Tailwind
colors: {
  custom: {
    50: '#a0ae83',
    500: '#798d52',
    950: '#000000',
  },
}
SCSS
$custom: #798d52;
$custom-light: #a0ae83;
$custom-dark: #000000;
JSON
{
  "hex": "#798d52",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 82
  },
  "hsl": {
    "h": 80.339,
    "s": 26.457,
    "l": 43.725
  },
  "oklch": {
    "l": 0.61292,
    "c": 0.08591,
    "h": 124.2
  },
  "luminance": 0.23724
}

Semantic roles & 50–950 ramp

primary
#798D52
secondary
#988BAF
accent
#65C385
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F100B
muted
#7E7F7C

Preview Lab

Preview with #798D52

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

Preview Lab → · Contrast checker → · Palette generator →

#798D52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva