#798736#798736

#798736 is a mid, moderate yellow-green. Relative luminance 0.217; OKLCH L 59.5% C 0.107 H 118.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#798736
RGBrgb(121, 135, 54)
HSLhsl(70, 43%, 37%)
HSVhsv(70, 60%, 53%)
CMYKcmyk(10.4%, 0%, 60%, 47.1%)
CIE-LABlab(53.66, -17.38, 40.90)
CIE-LCHlch(53.66, 44.44, 113.02°)
OKLaboklab(59.46% -0.0504 0.0947)
OKLCHoklch(59.46% 0.107 118)
XYZxyz(17.2153, 21.6594, 6.7631)
Luminance0.2166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798736 #443687
analogous
#876C36 #798736 #518736
triadic
#798736 #367987 #873679
tetradic
#798736 #36876C #443687 #873651
square
#798736 #36876C #443687 #873651
split-complementary
#798736 #365187 #6C3687
monochromatic
#2B3013 #525B25 #798736 #A0B347 #B8C671

Accessibility & contrast

On white

3.94
#798736 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#798736 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798736
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798736#FFFFFF#000000##000000
##7987361.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802D
Deuteranopia (green-blind)
#8E813B
Tritanopia (blue-blind)
#808076
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #798736;
/* rgb */ color: rgb(121, 135, 54);
/* oklch */ color: oklch(59.5% 0.107 118.0);
Tailwind
colors: {
  custom: {
    50: '#a2a970',
    500: '#798736',
    950: '#000000',
  },
}
SCSS
$custom: #798736;
$custom-light: #a2a970;
$custom-dark: #000000;
JSON
{
  "hex": "#798736",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 54
  },
  "hsl": {
    "h": 70.37,
    "s": 42.857,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59455,
    "c": 0.10726,
    "h": 118
  },
  "luminance": 0.21659
}

Semantic roles & 50–950 ramp

primary
#798736
secondary
#766AAF
accent
#55D36B
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #798736

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

Preview Lab → · Contrast checker → · Palette generator →

#798736 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva