#798735#798735

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

Color values

HEX#798735
RGBrgb(121, 135, 53)
HSLhsl(70, 44%, 37%)
HSVhsv(70, 61%, 53%)
CMYKcmyk(10.4%, 0%, 60.7%, 47.1%)
CIE-LABlab(53.65, -17.46, 41.37)
CIE-LCHlch(53.65, 44.90, 112.89°)
OKLaboklab(59.44% -0.0507 0.0956)
OKLCHoklch(59.44% 0.108 118)
XYZxyz(17.1920, 21.6501, 6.6407)
Luminance0.2165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798735 #433587
analogous
#876C35 #798735 #508735
triadic
#798735 #357987 #873579
tetradic
#798735 #35876C #433587 #873550
square
#798735 #35876C #433587 #873550
split-complementary
#798735 #355087 #6C3587
monochromatic
#2A2F12 #525B24 #798735 #A0B346 #B8C770

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798735#FFFFFF#000000##000000
##7987351.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)
#90802C
Deuteranopia (green-blind)
#8E813A
Tritanopia (blue-blind)
#808075
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #798735;
/* rgb */ color: rgb(121, 135, 53);
/* oklch */ color: oklch(59.4% 0.108 118.0);
Tailwind
colors: {
  custom: {
    50: '#a2a970',
    500: '#798735',
    950: '#000000',
  },
}
SCSS
$custom: #798735;
$custom-light: #a2a970;
$custom-dark: #000000;
JSON
{
  "hex": "#798735",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 53
  },
  "hsl": {
    "h": 70.244,
    "s": 43.617,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59444,
    "c": 0.10818,
    "h": 118
  },
  "luminance": 0.2165
}

Semantic roles & 50–950 ramp

primary
#798735
secondary
#7569AF
accent
#54D36A
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #798735

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

Preview Lab → · Contrast checker → · Palette generator →

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