#798D35#798D35

#798D35 is a mid, moderate yellow-green. Relative luminance 0.234; OKLCH L 60.9% C 0.116 H 120.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#798D35
RGBrgb(121, 141, 53)
HSLhsl(74, 45%, 38%)
HSVhsv(74, 62%, 55%)
CMYKcmyk(14.2%, 0%, 62.4%, 44.7%)
CIE-LABlab(55.45, -20.58, 43.35)
CIE-LCHlch(55.45, 47.99, 115.39°)
OKLaboklab(60.89% -0.0594 0.0998)
OKLCHoklch(60.89% 0.116 120.8)
XYZxyz(18.0529, 23.3718, 6.9276)
Luminance0.2337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798D35 #49358D
analogous
#8D7535 #798D35 #4D8D35
triadic
#798D35 #35798D #8D3579
tetradic
#798D35 #358D75 #49358D #8D354D
square
#798D35 #358D75 #49358D #8D354D
split-complementary
#798D35 #354D8D #75358D
monochromatic
#2D3414 #536124 #798D35 #9FB946 #B6CA72

Accessibility & contrast

On white

3.70
#798D35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#798D35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798D35
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798D35#FFFFFF#000000##000000
##798D351.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95852B
Deuteranopia (green-blind)
#93853B
Tritanopia (blue-blind)
#7F867A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #798d35;
/* rgb */ color: rgb(121, 141, 53);
/* oklch */ color: oklch(60.9% 0.116 120.8);
Tailwind
colors: {
  custom: {
    50: '#a2ae70',
    500: '#798d35',
    950: '#000000',
  },
}
SCSS
$custom: #798d35;
$custom-light: #a2ae70;
$custom-dark: #000000;
JSON
{
  "hex": "#798d35",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 53
  },
  "hsl": {
    "h": 73.636,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.6089,
    "c": 0.11613,
    "h": 120.8
  },
  "luminance": 0.23372
}

Semantic roles & 50–950 ramp

primary
#798D35
secondary
#7B6BB2
accent
#53D570
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #798D35

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

Preview Lab → · Contrast checker → · Palette generator →

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